[Paraview] Re: [vtkusers] Unable to Compile VTK in 64 Bits Linux

Kevin H. Hobbs hobbsk at ohiou.edu
Mon Apr 9 10:42:39 EDT 2007


On Mon, 2007-04-09 at 09:13 -0400, Gregory, David C CIV NSWCDD, G24
wrote:
> I'd be willing to bet that he has the opposite problem.  I.e. the
> referenced libGL.so is 32bit and he's compiling 64bit binaries.
> 
> On my Redhat 4.3 machine, the 64 bit shared libraries live in /usr/lib64
> There should be a cmake setting for the GL libraries, make sure its
> finding the correct ones.
> 
> 
> -David

I find setting CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH very useful for
helping CMake find the correct versions of libraries on x86_64. You may
want to start from a clean build directory...

My ~/.bash_profile has :

CMAKE_LIBRARY_PATH=/usr/lib64
CMAKE_LIBRARY_PATH=~/Mesa/lib64:$CMAKE_LIBRARY_PATH

CMAKE_INCLUDE_PATH=~/Mesa/include

This sets /usr/lib64 to override /usr/lib and ~/Mesa/lib64 to
override /usr/lib64. The Mesa library is just an example you could leave
it out and use the system libGL or set it to another libGL if you have
one. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/paraview/attachments/20070409/a1aaa5b2/attachment.pgp


More information about the ParaView mailing list