[CMake] Handle lib64 library on Linux

Sara Rolfe smrolfe at u.washington.edu
Mon May 23 17:29:01 EDT 2011

Hi Eric,

Yes, I believe it is a dependancy from ITK.  I saw that wiki page and  
at the time did not have that library, so I installed it.  I have used  
CMake to successfully create applications using both VTK and ITK on a  
32-bit machine.  This problem arose when I moved to a 64-bit machine.

I've also posted to the ITK mailing list, but so far no one there has  
had any ideas.


On May 23, 2011, at 2:11 PM, Eric Noulard wrote:

> 2011/5/23 Sara Rolfe <smrolfe at u.washington.edu>:
>> Hi Eric,
>> Thanks for pointing this out.  I changed the order, but am still  
>> getting the
>> same error:
>> make[2]: *** No rule to make target `/usr/lib/libuuid.so', needed by
>> `SubsampleVolume'.  Stop.
>> make[1]: *** [CMakeFiles/SubsampleVolume.dir/all] Error 2
>> make: *** [all] Error 2
>> The location of libuuid on my machine is: /usr/lib64/libuuid.so
> libuuid does not appear as a direct dependency of
> your SubsampleVolume target,
> you wrote:
>       ITKNumerics ITKIO ITKBasicFilters vtkRendering vtkIO vtkWidgets
>        vtkHybrid)
> So my guess is that this dependency is indirect and comes from either
> ITK or VTK,
> which seems confirmed by
> http://www.vtk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux#uuid_.28dependency.29
> Did you manage to create a VTK application with CMake before?
> May be you should ask on VTK mailing list
> http://www.vtk.org/VTK/help/mailing.html
> about your link trouble.
> PS: beware not to drop the mailling list address
> -- 
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org

More information about the CMake mailing list