[Insight-users] Hello World

Arunachalam Kana Kana.Arunachalam at fh-wels.at
Wed Apr 14 15:00:04 EDT 2010


Hi Zeinab,

 

Please check whether the path of the folder in which the itkcommon.lib
is located is added to you linker.

In visual studio: Projects->properties->linker->input->additional
dependencies

Should contain the path to the itkcommon.lib (ex:
C:\......\itk-binary\bin\Debug\ITKCommon.lib)

 

Also check in Projects->properties->linker->general->additional library
directories

Whether the path to you itk binary bin path is included (ex:
C:\.......\itk-binary\bin)

 

Hello world is usually executed very fast, so just put a std::cin to
hold the control in the program after printing "hello world". 

 

Hope this helps you.

All the best.

Kana 

 

From: insight-users-bounces at itk.org
[mailto:insight-users-bounces at itk.org] On Behalf Of Zeinab A.
Sent: 14 April 2010 20:04
To: insight-users at itk.org
Subject: [Insight-users] Hello World

 

Hello

 

I am a new user and going through the ITK Software Guide section 2, for
installing and compiling ITK for Hello World. I was able to do all that,
however when I try to build the solution in visual studio 9 2008, I get
an error:

Error 1 fatal error LNK1104: cannot open file 'ITKCommon.lib' HelloWorld
HelloWorld

 

Do you know what that means, I mean I successfully compiled and
generated the solution why can I not see it when I build it. Please let
me know if I am missing something, and I apologize for my limited
knowledge in C++.

 

Best

Zeinab

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100414/0cb70471/attachment.htm>


More information about the Insight-users mailing list