[vtkusers] Troubles Compiling on SuSE linux
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Mon May 26 10:40:39 EDT 2003
Matt,
I think your 'OPENGL_INCLUDE_DIR' variable is not set properly. Open
CMakeCache.txt with your favorite editor (or use ccmake) to change it to
the correct path.
You should look for the file gl.h on your computer. For example if
there is a file /matt/include/GL/gl.h the correct dir is: '/matt/include/'
HTH
mathieu
Matt Zumwalt wrote:
> 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,
> which includes:
> mesa-4.0.3-53
> mesasoft-4.0.3-53
> mesaglu-4.0.3-53
> mesaglut-4.0.3-53
>
> mesasoft and mesaglu provide the following files:
> /usr/X11R6/bin/switch2mesasoft
> /usr/lib/GL/libGL.so.1.3.mesasoft
> and
> /usr/lib/libGLU.so.1
> /usr/lib/libGLU.so.1.3
> /usr/lib/libMesaGLU.so.3
>
> Using cmake's 'advanced options', I set all of the GL and GLU library and
> include paths to /usr/lib/
> 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/FTBitmapGlyphRenderOpenGL.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
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:
> In
> member function `void FTBitmapGlyph::RenderOpenGL(const FT_Vector&, const
> FTGLRenderContext*)':
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:15:
> parse
> error before `*' token
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:17:
> parse
> error before `*' token
> /usr/share/vtk-4.2/VTK-4.2.2/Utilities/ftgl/src/FTBitmapGlyphRenderOpenGL.cpp:20:
> parse
> error before `*' token
> make[5]: *** [FTBitmapGlyphRenderOpenGL.o] Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_ftgl] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Utilities] Error 2
> make: *** [default_target] Error 2
>
>
>
> any thoughts?
> I ran 3Ddiag and everything seems to be fine. gears works fine as well.
>
> Thanks,
> Matt Z
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtkusers
mailing list