필터 지우기
필터 지우기

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