[vtkusers] Troubles Compiling on SuSE linux

CEZARD Yann Yann.CEZARD at ifp.fr
Mon May 26 10:48:11 EDT 2003


> -----Message d'origine-----
> De : Matt Zumwalt [mailto:mz108 at york.ac.uk]
> Envoyé : lundi 26 mai 2003 17:44
> À : vtkusers at public.kitware.com
> Objet : [vtkusers] Troubles Compiling on SuSE linux
> 
> 
> Hi,
>     I'm trying to install VTK-4.2.2 but am having some 
> troubles.  I am running 
> SuSE Linux 8.1 on a Pentium III. 
>     The initial problem I ran into was that cmake could not 
> find the GL and 
> GLU libraries.  I am using the mesa implementation that comes 
> with SuSE8.1, 

[...]

>    Using cmake's 'advanced options', I set all of the GL and 
> GLU library and 
> include paths to /usr/lib/

I think the GLU include path must be /usr/include
That's why the compiler complains about not finding GL/gl.h

>    After this change, I ran make, which seemed to be working 
> until it spit out 
> the following:
> 
> Building shared library 
> /usr/share/vtk-4.2/VTK-4.2.2/bin/libvtkfreetype.so...
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl: building default_target
> Building dependencies. cmake.depends...
> Building object file FTBitmapGlyph.o...
> Building object file FTBitmapGlyphRenderOpenGL.o...
> In file included from 
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTBitmapGlyphR
> enderOpenGL.cpp:2:
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTGLgl.h:25:29
> : GL/gl.h: No such file or directory

[...]

> 
> 
> 
> any thoughts?
> I ran 3Ddiag and everything seems to be fine.  gears works 
> fine as well.
> 
> Thanks,
>  Matt Z

Hope this helps...

Yann



More information about the vtkusers mailing list