Prev: Misterious error when trying to connect totarget in Real Time Windows Target
Next: Magna Cigarettes - Cheap Magna Cigarettes
From: Mathias Ortner on 19 Jul 2007 03:27 I try to compile the mex wrapper of OpenCV http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12200 but lcc fails to deal with a standard <.h> on the following line CvRNG rng = seed ? (uint64)seed : (uint64)(int64)-1; here is the complete log, I am working with R2007a... any clues ? Mathias >> mex -v cvlib_mex.c -ID:\programmes\OpenCV\cv\include -ID:\programmes\OpenCV\cxcore\include This is mex, Copyright 1984-2006 The MathWorks, Inc. -> Default options filename found in C:\PROFILES\ortner\Application Data\MathWorks\MATLAB\R2007a ---------------------------------------------------------------- -> Options file = C:\PROFILES\ortner\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat MATLAB = D:\PROGRA~1\MATLAB~1\R2007a -> COMPILER = lcc -> Compiler flags: COMPFLAGS = -c -Zp8 -I"D:\PROGRA~1\MATLAB~1\R2007a\sys\lcc\include" -DMATLAB_MEX_FILE -noregistrylookup OPTIMFLAGS = -DNDEBUG DEBUGFLAGS = -g4 arguments = -ID:\programmes\OpenCV\cv\include -ID:\programmes\OpenCV\cxcore\include Name switch = -Fo -> Pre-linking commands = -> LINKER = lcclnk -> Link directives: LINKFLAGS = -tmpdir "." -dll "D:\PROGRA~1\MATLAB~1\R2007a\extern\lib\win32\lcc\mexFunction.def" -L"D:\PROGRA~1\MATLAB~1\R2007a\sys\lcc\lib" -libpath "D:\PROGRA~1\MATLAB~1\R2007a\extern\lib\win32\lcc" C:\Temp\mex_45469710-930D-490B-1A83-0D156E828B5A\templib2.obj LINKDEBUGFLAGS = LINKFLAGSPOST = libmx.lib libmex.lib libmat.lib Name directive = -o "cvlib_mex.mexw32" File link directive = Lib. link directive = Rsp file indicator = @ -> Resource Compiler = lrc -I"D:\PROGRA~1\MATLAB~1\R2007a\sys\lcc\include" -noregistrylookup -fo"mexversion.res" -> Resource Linker = ---------------------------------------------------------------- --> "lcc -ID:\programmes\OpenCV\cv\include -ID:\programmes\OpenCV\cxcore\include -c -Zp8 -I"D:\PROGRA~1\MATLAB~1\R2007a\sys\lcc\include" -DMATLAB_MEX_FILE -noregistrylookup -FoC:\Temp\mex_45469710-930D-490B-1A83-0D156E828B5A\cvlib_mex.obj -ID:\PROGRA~1\MATLAB~1\R2007a\extern\include -DNDEBUG -DMX_COMPAT_32 cvlib_mex.c" Error cvlib_mex.c: D:\programmes\OpenCV\cxcore\include\cxtypes.h: 300 compiler error in _kids--Bad rule number 0 D:\PROGRA~1\MATLAB~1\R2007A\BIN\MEX.PL: Error: Compile of 'cvlib_mex.c' failed. |