i would like to run libsvm_classifer_spider.cpp but i am receiving 11:10: fatal error: mexarg.h: No such file or directory
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Dhruv
on 22 Apr 2024
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!
0 Comments
See Also
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!