>> loadlibrary(libname,hfile,'includepath','C:\IVI_Foundation\VISA\Win64\Include\', 'includepath', 'C:\IVI_Foundation\VISA\Win64\Lib_x64\');
Warning: Warnings messages were produced while parsing. Check the functions you intend to use for correctness. Warning
text can be viewed using:
[notfound,warnings]=loadlibrary(...
Error loading library intermediate output follows.
The actual error is at the end of this output.
Failed to parse type '( __fastcall__ )) tlccs_close ( ViSession vi' original input '( __fastcall__ )) tlccs_close ( ViSession vi '
Found on line 99 of input from line 214 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Failed to parse type '( __fastcall__ )) tlccs_startScan ( ViSession vi' original input '( __fastcall__ )) tlccs_startScan ( ViSession vi '
Found on line 105 of input from line 268 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Failed to parse type '( __fastcall__ )) tlccs_startScanCont ( ViSession vi' original input '( __fastcall__ )) tlccs_startScanCont ( ViSession vi '
Found on line 107 of input from line 284 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Failed to parse type '( __fastcall__ )) tlccs_startScanExtTrg ( ViSession vi' original input '( __fastcall__ )) tlccs_startScanExtTrg ( ViSession vi '
Found on line 109 of input from line 301 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Failed to parse type '( __fastcall__ )) tlccs_startScanContExtTrg ( ViSession vi' original input '( __fastcall__ )) tlccs_startScanContExtTrg ( ViSession vi '
Found on line 111 of input from line 322 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Failed to parse type '( __fastcall__ )) tlccs_reset ( ViSession vi' original input '( __fastcall__ )) tlccs_reset ( ViSession vi '
Found on line 141 of input from line 566 of file C:\\Program Files\\IVI_Foundation\\VISA\\Win64\\Include\\TLCCS.h
Error parsing argument for function __attribute__ function may be invalid.
Building TLCCS_64_thunk_pcwin64 failed. Compiler output is:
C:\ProgramData\MATLAB\SupportPackages\R2023a\3P.instrset\mingw_w64.instrset\bin\gcc -I"C:\IVI_Foundation\VISA\Win64\Include"
-I"C:\IVI_Foundation\VISA\Win64\Lib_x64" -I"C:\Program Files\MATLAB\R2023a\extern\include" -fexceptions
-fno-omit-frame-pointer -I"C:\Users\lab\Documents\scripts" -I"C:\Program Files\IVI_Foundation\VISA\Win64\Include"
"TLCCS_64_thunk_pcwin64.c" -o "TLCCS_64_thunk_pcwin64.dll" -shared
TLCCS_64_thunk_pcwin64.c:33:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_close(ViSessionviThunk(void fcn(),const char *callstack,int stacksize)
TLCCS_64_thunk_pcwin64.c:42:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_startScan(ViSessionviThunk(void fcn(),const char *callstack,int stacksize)
TLCCS_64_thunk_pcwin64.c:51:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_startScanCont(ViSessionviThunk(void fcn(),const char *callstack,int
TLCCS_64_thunk_pcwin64.c:60:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_startScanExtTrg(ViSessionviThunk(void fcn(),const char *callstack,int
TLCCS_64_thunk_pcwin64.c:69:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_startScanContExtTrg(ViSessionviThunk(void fcn(),const char *callstack,int
TLCCS_64_thunk_pcwin64.c:78:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before ')' token
EXPORT_EXTERN_C long long(__fastcall__))tlccs_reset(ViSessionviThunk(void fcn(),const char *callstack,int stacksize)