[IGSTK-Users] IGSTK-4.2 Debug w/ OpenCV
Patrick Cheng
cheng at isis.georgetown.edu
Fri Aug 7 14:06:01 EDT 2009
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
More information about the IGSTK-Users
mailing list