[Insight-users] Link ITKCommon in Linux -- a beginner's question

Lu Xu xu.lu at gene.com
Tue Mar 6 17:53:41 EST 2007


Hi, Fellow ITK Users,

 

I am a first time user of ITK.  I followed the instruction (ITK Software
Guide, page 16) on compiling "Hello World" and received the following error
message after the make command:

 

****************************************************************************
*************************************************

Linking CXX executable
/ve/Pharm/lxu/lxu.usr.local/ITK_Toolkit/Examples/Installation/Insight-binary
/HelloWorld

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin
/ld: cannot open output file
/ve/Pharm/lxu/lxu.usr.local/ITK_Toolkit/Examples/Installation/Insight-binary
/HelloWorld: No such file or directory

collect2: ld returned 1 exit status

make[2]: ***
[/ve/Pharm/lxu/lxu.usr.local/ITK_Toolkit/Examples/Installation/Insight-binar
y/HelloWorld] Error 1

make[1]: *** [CMakeFiles/HelloWorld.dir/all] Error 2

make: *** [all] Error 2

 

 

Could it be a SET PATH issue?  If so, could someone kindly provide
instruction on how to set the path to the ITKCommon library in Linux?

 

Thanks!

 

Lu

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070306/dc4ffc30/attachment.htm


More information about the Insight-users mailing list