[CMake] How to add the library?

王琪 qi-wang02 at mails.thu.edu.cn
Fri Feb 17 00:34:53 EST 2006


I built ITK Debug, and my project was also built Debug. My ITKBasicFilters.lib is in ITK_BINARY_DIR/bin/debug.What is the problem?


> -----Original Message-----
> 发件人: "William A. Hoffman" <billlist at nycap.rr.com>
> 日期: Thu, 16 Feb 2006 21:13:19 -0500
> 收件人: 王琪 <qi-wang02 at mails.thu.edu.cn>, cmake at cmake.org
> 主题: Re: Re: [CMake] How to add the library?
> 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