[Insight-users] Hello World in Windows: Linking problem

Luis Ibanez luis.ibanez@kitware.com
Mon, 07 Apr 2003 22:40:08 -0400


Hi Anouk,

You may be missing to provide the right
directory to the CMake variable ITK_DIR.

When you run CMake to configure your project
please make sure that you provide the
binary directory where you built ITK.

Note also that you should not move the libraries
once they have been built. The should be in
the "/bin" subdirectory of the ITK binary
directory.


Regards,


Luis


-------------------------
Anouk Stein wrote:
> Dear Insight,
> I am trying to compile the Hello World example on Visual Studio 6. The 
> error I get is :
>  
> Building Custom Rule 
> C:\CAD\InsightToolkit-1.2.0\Examples\Installation\CMakeLists.txt
> Compiling...
> HelloWorld.cxx
> Linking...
> LINK : fatal error LNK1104: cannot open file "ITKCommon.lib"
> Error executing link.exe.
>  
> ALL_BUILD - 1 error(s), 0 warning(s)
>  
> What should I try?
>  
> SIncerely,
> Anouk Stein
>