[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    Re: [Insight-users] ITK example compiling problem on Linux
From:       pinpress <sb_ji () yahoo ! com>
Date:       2008-10-29 14:43:09
Message-ID: 20228567.post () talk ! nabble ! com
[Download RAW message or body]


Hi all,

This problem has now been solved. Just for the record keeping, I am posting
the solution here and hope people can reference this in the future in case
the same problem occurs.

The problem is that the generic libtiff.so symlink is not created by
default, and this is what cmake was looking for. By installing the
development package, this symlink, along with all the other headers for
tiff4, gets installed. Therefore, the solution is to install the tiff
development libraries on the Linux client. After installing these libraries,
the examples compile cleanly. 

Pinpress


pinpress wrote:
> 
> Hi,
> 
> I was able to use CMake and Visual Studio on Windows to compile correctly
> the example DeformableRegistration5.cxx. However, I was not able to
> compile it correctly on Linux, and it keeps reporting the following error: 
> 
> Scanning dependencies of target LevelSetRegistration
> [100%] Building CXX object
> CMakeFiles/LevelSetRegistration.dir/DeformableRegistration5.o
> make[2]: *** No rule to make target `/usr/lib64/libtiff.so', needed by
> `LevelSetRegistration'.  Stop.
> make[1]: *** [CMakeFiles/LevelSetRegistration.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> Please note that I have changed the executable to LevelSetRegistration,
> but it did not have any effect on the compiling issue. Anyone knows why?
> thanks a lot.
> 

-- 
View this message in context: \
http://www.nabble.com/ITK-example-compiling-problem-on-Linux-tp20076541p20228567.html \
Sent from the ITK - Users mailing list archive at Nabble.com.

_______________________________________________
Insight-users mailing list
Insight-users@itk.org
http://www.itk.org/mailman/listinfo/insight-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic