[CMake] How to add the library?

William A. Hoffman billlist at nycap.rr.com
Thu Feb 16 21:13:19 EST 2006


Did you build ITK with the same configuration you are trying to link to?
If you built ITK Release, and your project Debug you would get this message.
Also, try to find out where ITKBasicFilters.lib is on your disk.

-Bill


At 07:21 PM 2/16/2006, =?gb2312?b?zfXn9w==?= wrote:
>The error messages I have gotten is :
>Linking...
>LINK : fatal error LNK1104: cannot open file "ITKBasicFilters.lib"
>Error executing link.exe.
>
>ALL_BUILD - 1 error(s), 0 warning(s)
>My project's location is D:\2. My ITK project's location is D:\ITK\itk 2.2.0\InsightToolkit-2.2.0. My VTI project's location is D:\vtk.



More information about the CMake mailing list