i would like to run libsvm_cla​ssifer_spi​der.cpp but i am receiving 11:10: fatal error: mexarg.h: No such file or directory

2 次查看(过去 30 天)
I have already installed complier and succesfully ran some cpp files(Building with 'MinGW64 Compiler (C++)'.) as well but when I am trying to run >> mex libsvm_classifier_spider.cpp
I have recieved following error
Error using mex
F:\Study and Life\ZNU Zhejiang Normal University\PosDoc Research\paper writing\Paper
2\FSLib_v6.1_2018\FSLib_v6.1_2018\lib\libsvm_classifier_spider.cpp:11:10: fatal error: mexarg.h: No such file or directory
#include <mexarg.h>
^~~~~~~~~~
compilation terminated.
Please suggest some solution

回答(1 个)

Dhruv
Dhruv 2024-4-22
Hi,
The error message you are receiving indicates that the compiler cannot find the ‘mexarg.h’ header file, which is required for the compilation of ‘libsvm_classifier_spider.cpp’.
To resolve this issue, I suggest specifying the complete file path when including the ‘mexarg.h’ header file, to ensure it is correctly located.
For more information and options related to the ‘mex’ command, you may refer to the following documentation page:
Hope it helps!

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by