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

Anouk Stein anouk_stein@earthlink.net
Mon, 7 Apr 2003 17:56:43 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_002F_01C2FD2F.0C52ABF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


------=_NextPart_000_002F_01C2FD2F.0C52ABF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Insight,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am trying to compile the Hello World =
example on=20
Visual Studio 6. The error I get is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Building Custom Rule=20
C:\CAD\InsightToolkit-1.2.0\Examples\Installation\CMakeLists.txt<BR>Compi=
ling...<BR>HelloWorld.cxx<BR>Linking...<BR>LINK=20
: fatal error LNK1104: cannot open file "ITKCommon.lib"<BR>Error =
executing=20
link.exe.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ALL_BUILD - 1 error(s), 0 =
warning(s)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What should I try?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SIncerely,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Anouk Stein</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_002F_01C2FD2F.0C52ABF0--