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(...
> In loadlibrary
Error loading library intermediate output follows.
The actual error is at the end of this output.
*********
Bareword found where operator expected at (eval 119) line 1, near "0xffffffffL"
(Missing operator before L?)
Type 'lconvPtr' was not found. Defaulting to type voidPtr.
Found on line 5665 of input from line 2111 of file C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\INCLUDE\\crtdefs.h
Eval of const expression 0xffffffffL failed with error syntax error at (eval 119) line 2, near "0xffffffffL
"
.
Found on line 14010 of input from line 201 of file c:\\program files\\point grey research\\spinnaker\\include\\spinc\\SpinnakerGenApiDefsC.h
Type ')' was not found. Defaulting to type error.
Found on line 18701 of input from line 2176 of file C:\\Program Files\\Point Grey Research\\Spinnaker\\include\\spinc\\SpinnakerC.h
Failed to parse type 'dllimport ) spinError spinAVIRecorderClose ( spinAVIRecorder hRecorder' original input 'dllimport ) spinError spinAVIRecorderClose ( spinAVIRecorder hRecorder '
Found on line 18701 of input from line 2176 of file C:\\Program Files\\Point Grey Research\\Spinnaker\\include\\spinc\\SpinnakerC.h
Error parsing argument for function __declspec function may be invalid.
*********
Error using loadlibrary
Building SpinnakerC_v140_thunk_pcwin64 failed. Compiler output is:
cl -I"C:\MATLAB\R2016a\extern\include" /Zp8 /W3 /nologo
-I"C:\Users\******\Documents\MATLAB" -I"C:\Program Files\Point Grey
Research\Spinnaker\include\spinc" "SpinnakerC_v140_thunk_pcwin64.c" -LD
-Fe"SpinnakerC_v140_thunk_pcwin64.dll"
SpinnakerC_v140_thunk_pcwin64.c
SpinnakerC_v140_thunk_pcwin64.c(444) : error C2059: syntax error : ')'
SpinnakerC_v140_thunk_pcwin64.c(444) : error C2061: syntax error :
identifier 'spinErrorspinAVIRecorderClose'
SpinnakerC_v140_thunk_pcwin64.c(444) : error C2059: syntax error : ';'
SpinnakerC_v140_thunk_pcwin64.c(445) : error C2143: syntax error :
missing ')' before '{'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2059: syntax error : ')'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2065: 'dllimport' :
undeclared identifier
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2146: syntax error :
missing ';' before identifier 'spinError'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2275: 'spinError' :
illegal use of this type as an expression
c:\program files\point grey
research\spinnaker\include\spinc\SpinnakerDefsC.h(273) : see
declaration of 'spinError'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2146: syntax error :
missing ';' before identifier 'spinAVIRecorderClose'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2143: syntax error :
missing ')' before 'type'
SpinnakerC_v140_thunk_pcwin64.c(446) : error C2198:
'spinAVIRecorderClose' : too few arguments for call
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2065: 'p0' : undeclared
identifier
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2065: 'dllimport' :
undeclared identifier
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2100: illegal indirection
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2146: syntax error :
missing ';' before identifier 'spinError'
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2275: 'spinError' :
illegal use of this type as an expression
c:\program files\point grey
research\spinnaker\include\spinc\SpinnakerDefsC.h(273) : see
declaration of 'spinError'
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2146: syntax error :
missing ';' before identifier 'spinAVIRecorderClose'
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2143: syntax error :
missing ')' before 'type'
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2198:
'spinAVIRecorderClose' : too few arguments for call
SpinnakerC_v140_thunk_pcwin64.c(447) : error C2059: syntax error : ')'
SpinnakerC_v140_thunk_pcwin64.c(448) : error C2065: 'p0' : undeclared
identifier
SpinnakerC_v140_thunk_pcwin64.c(449) : error C2059: syntax error : ')'
end
1 Comment
Hadar Pinhas (view profile)
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/408704-interface-and-control-flir-blackfly-s-with-matlab-64-bit-platform-code#comment_627871
Sign in to comment.