Re: kpovmodeler cmake opengl problem

2006-07-25 Thread Clarence Dang

No, there doesn't seem to be a -devel package.

rpm -q xorg-x11-Mesa-libGLU --list
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so.1.3
/usr/lib/libGLU.so.1

cmake people, could you please shed light on what the OpenGL test does and/or 
what files/packages I need?

Thanks,
Clarence
[please CC me on replies or I will never see the message :(]

On Tuesday 25 July 2006 16:02, Andreas Zehender wrote:
 is there a Mesa-libGL-devel package?

 Clarence Dang schrieb:
 PACKAGE: libopengl
 DESCRIPTION: OpenGl lib is need to build kpovmodeler project
 URL: http://www.X.org/
 ===
 
 No real clues since I do already have X installed and googling libopengl
 only finds libopengl-perl.  I use FC4.  Here are some interesting
  packages I have installed:
 
 xorg-x11-libs-6.8.2-31.i386.rpm
 xorg-x11-Mesa-libGL-6.8.2-31.i386.rpm
 xorg-x11-Mesa-libGLU-6.8.2-31.i386.rpm
 xorg-x11-devel-6.8.2-31.i386.rpm
 freeglut-devel-2.2.0-16.i386.rpm
 freeglut-2.2.0-16.i386.rpm
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem


Re: kpovmodeler cmake opengl problem

2006-07-25 Thread Brad King
Clarence Dang wrote:
 No, there doesn't seem to be a -devel package.
 
 rpm -q xorg-x11-Mesa-libGLU --list
 /usr/X11R6/lib/libGLU.so.1
 /usr/X11R6/lib/libGLU.so.1.3
 /usr/lib/libGLU.so.1
 
 cmake people, could you please shed light on what the OpenGL test does and/or 
 what files/packages I need?

CMake uses this script to search for OpenGL:

http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/FindOpenGL.cmake?root=CMakeview=markup

It needs to locate the GL/gl.h header file, and a copy of the GL library
that can be loaded by the linker.  On Linux this is typically a symlink
called libGL.so that points at libGL.so.version.  Both the header
and the symlink are usually installed by a mesagl-dev package or
something like that (the actual name depends on your linux distro).

This is not a CMake-specific problem.  There is no way you can build an
opengl application on your system without this package no matter what
build tool it uses.

-Brad
___
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem