[vtkusers] Unable to Compile VTK in 64 Bits Linux

xin guai xinxinsguaiguai at gmail.com
Fri Apr 6 17:36:48 EDT 2007


I got these errors when I attempted to compile VTK in 64 bits Linux RedHat
with CMAKE.


Linking CXX shared library ../../bin/libvtkftgl.so
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libGL.so when searching for
-lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
gmake[2]: *** [bin/libvtkftgl.so.5.0.3] Error 1
gmake[1]: *** [Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
gmake: *** [all] Error 2

Does anyone know how to fix this problem? Thank You.


-X.G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070406/7aabbf43/attachment.htm>


More information about the vtkusers mailing list