[vtkusers] Unable to Compile VTK in 64 Bits Linux

Dominik Szczerba domi at vision.ee.ethz.ch
Sat Apr 7 02:46:56 EDT 2007


You appear either to not have GL installed in your system or cmake has not 
detected the paths properly (verify with cmake edit_cache).
Dominik

On Friday 06 April 2007 23:36, xin guai wrote:
> 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.

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list