Error loading library intermediate output follows.
The actual error is at the end of this output.
*********
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 37 of input from line 36 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 51 of input from line 50 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 70 of input from line 69 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'intvoidEXTERN_C' was not found. Defaulting to type error.
Found on line 77 of input from line 76 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 94 of input from line 93 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 109 of input from line 108 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 121 of input from line 120 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 136 of input from line 135 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 149 of input from line 148 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 168 of input from line 167 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 186 of input from line 185 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 200 of input from line 199 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 215 of input from line 214 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 231 of input from line 230 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 245 of input from line 244 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 261 of input from line 260 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 275 of input from line 274 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
Type 'longEXTERN_C' was not found. Defaulting to type error.
Found on line 290 of input from line 289 of file C:\\Users\\labuser\\Desktop\\test\\NewpDll.h
*********
Error using loadlibrary (line 419)
Building usbdll_thunk_pcwin64 failed. Compiler output is:
cl -I"C:\Program Files\MATLAB\R2013a\extern\include" /W3 /D_CRT_SECURE_NO_DEPRECATE
/D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /nologo -I"C:\Users\labuser\Desktop\test"
-I"C:\Users\labuser\Desktop\test" "usbdll_thunk_pcwin64.c" -LD
-Fe"usbdll_thunk_pcwin64.dll"
usbdll_thunk_pcwin64.c
C:\Users\labuser\Desktop\test\NewpDll.h(36) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(50) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(69) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(76) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(93) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(108) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(120) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(135) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(148) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(167) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(185) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(199) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(214) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(230) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(244) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(260) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(274) : error C2143: syntax error : missing '{'
before '__cdecl'
C:\Users\labuser\Desktop\test\NewpDll.h(289) : error C2143: syntax error : missing '{'
before '__cdecl'
usbdll_thunk_pcwin64.c(25) : error C2061: syntax error : identifier
'longEXTERN_CvoidThunk'
usbdll_thunk_pcwin64.c(25) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(25) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(31) : error C2061: syntax error : identifier
'longEXTERN_Cint32Thunk'
usbdll_thunk_pcwin64.c(31) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(31) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(40) : error C2061: syntax error : identifier
'longEXTERN_Cint32boolvoidPtrThunk'
usbdll_thunk_pcwin64.c(40) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(40) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(55) : error C2061: syntax error : identifier
'voidEXTERN_CvoidThunk'
usbdll_thunk_pcwin64.c(55) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(55) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(61) : error C2061: syntax error : identifier
'longEXTERN_Cint32voidPtrThunk'
usbdll_thunk_pcwin64.c(61) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(61) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(73) : error C2061: syntax error : identifier
'longEXTERN_Ccstringint32Thunk'
usbdll_thunk_pcwin64.c(73) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(73) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(85) : error C2061: syntax error : identifier
'longEXTERN_CcstringThunk'
usbdll_thunk_pcwin64.c(85) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(85) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(94) : error C2061: syntax error : identifier
'longEXTERN_CvoidPtrvoidPtrThunk'
usbdll_thunk_pcwin64.c(94) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(94) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(106) : error C2061: syntax error : identifier
'longEXTERN_Cint32cstringThunk'
usbdll_thunk_pcwin64.c(106) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(106) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(118) : error C2061: syntax error : identifier
'longEXTERN_CvoidPtrThunk'
usbdll_thunk_pcwin64.c(118) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(118) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(127) : error C2061: syntax error : identifier
'longEXTERN_CvoidPtrvoidPtrvoidPtrvoidPtrThunk'
usbdll_thunk_pcwin64.c(127) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(127) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(145) : error C2061: syntax error : identifier
'longEXTERN_CcstringcstringulongvoidPtrThunk'
usbdll_thunk_pcwin64.c(145) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(145) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(163) : error C2061: syntax error : identifier
'longEXTERN_ClongcstringulongvoidPtrThunk'
usbdll_thunk_pcwin64.c(163) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(163) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(181) : error C2061: syntax error : identifier
'longEXTERN_CcstringcstringulongThunk'
usbdll_thunk_pcwin64.c(181) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(181) : error C2059: syntax error : 'type'
usbdll_thunk_pcwin64.c(196) : error C2061: syntax error : identifier
'longEXTERN_ClongcstringulongThunk'
usbdll_thunk_pcwin64.c(196) : error C2059: syntax error : ';'
usbdll_thunk_pcwin64.c(196) : error C2059: syntax error : 'type'
Error in picotest (line 5)
loadlibrary('usbdll.dll','NewpDll.h');
0 Comments
Sign in to comment.