Error when importing dll and header files using loadlibraryfunction, about #include
demo:
/*if not(libisloaded(‘ST_MarkDemo_CPP’))
loadlibrary(‘HM_Comm’,’HM_HashuScan.h’)
end
libfunctions(‘HM_HashuScan’);*/
erro:
‘E:X64ST_MarkDemo_CPP_V2.0ST_MarkDemo_CPPHM_HashuScan.h:2:18: fatal error: vector: No such
file or directory
#include <vector>
^
compilation terminated.
///The imported header file "HM_HashuScan.h" exists #include <vector> ;May be matlab can not compile how to solve?
Thanks in advance!demo:
/*if not(libisloaded(‘ST_MarkDemo_CPP’))
loadlibrary(‘HM_Comm’,’HM_HashuScan.h’)
end
libfunctions(‘HM_HashuScan’);*/
erro:
‘E:X64ST_MarkDemo_CPP_V2.0ST_MarkDemo_CPPHM_HashuScan.h:2:18: fatal error: vector: No such
file or directory
#include <vector>
^
compilation terminated.
///The imported header file "HM_HashuScan.h" exists #include <vector> ;May be matlab can not compile how to solve?
Thanks in advance! demo:
/*if not(libisloaded(‘ST_MarkDemo_CPP’))
loadlibrary(‘HM_Comm’,’HM_HashuScan.h’)
end
libfunctions(‘HM_HashuScan’);*/
erro:
‘E:X64ST_MarkDemo_CPP_V2.0ST_MarkDemo_CPPHM_HashuScan.h:2:18: fatal error: vector: No such
file or directory
#include <vector>
^
compilation terminated.
///The imported header file "HM_HashuScan.h" exists #include <vector> ;May be matlab can not compile how to solve?
Thanks in advance! dll, c++, loadlibrary MATLAB Answers — New Questions