[IGSTK-Users] IGSTK-4.2 Debug w/ OpenCV

Patrick Cheng cheng at isis.georgetown.edu
Fri Aug 7 15:20:36 EDT 2009


Hi Mike,

It has been fixed now.

The correct solution should be:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Source/CMakeLists.txt?root=IGSTK&r1=1.49&r2=1.50&sortby=date

Please check out the latest cvs version of IGSTK to get this fix.

Thank you for reporting the bug.

Patrick

Patrick Cheng wrote:
> Hi Mike,
> 
> There is some problem with the OpenCV library on the wiki. I haven't got 
> time to investigate it.
> 
> Supposedly, cmake will handle the linking of library files 
> automatically. when you build under debug, it will link to 
> "cxcore110d.lib" Somehow, that link is broken here.
> 
> As a temporary fix, you can change the line 396 of 
> IGSTK\Source\CMakeLists.txt to
> 
> SET(EXTRA_LIBS ${EXTRA_LIBS} cxcore110d cv110d highgui110d)
> 
> This will work under debug, but not release mode.
> 
> I will look into this problem further.
> 
> Patrick
> 
> Daly, Mike wrote:
>> IGSTK users,
>>
>> I'm building IGSTK-4.2 with USE_OpenCV and USE_VideoImager CMake 
>> options ON, using the OpenCV May-08-2009 snapshot provided on the 
>> Wiki. I can successfully build and run in Release mode, but in Debug 
>> mode I encounter the following linker error for many of the example 
>> applications (e.g., VideoFrameGrabberAndViewerWebcamWin, NeedleBiopsy):
>>
>> LINK : fatal error LNK1104: cannot open file 'cxcore110.lib'
>>
>> Has anyone run IGSTK-4.2 in Debug mode using OpenCV? Note that OpenCV 
>> denotes Debug libraries with an extra d (e.g., cxcore110d.lib) under 
>> the lib\debug folder, so I'm not sure if it is looking for the wrong 
>> file somehow. I have the OpenCV lib\ folders in my path. Any help is 
>> appreciated.
>>
>> Also, does anyone know if you can build OpenCV using static libraries, 
>> since requiring .dlls sometimes gets annoying when distributing an .exe?
>>
>> Thanks,
>> Mike Daly
>>
>>
>>
>> This e-mail may contain confidential and/or privileged information for 
>> the sole use of the intended recipient. Any review or distribution by 
>> anyone other than the person for whom it was originally intended is 
>> strictly prohibited. If you have received this e-mail in error, please 
>> contact the sender and delete all copies. Opinions, conclusions or 
>> other information contained in this e-mail may not be that of the 
>> organization.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> 
> 



More information about the IGSTK-Users mailing list