Mailinglist Archive: opensuse (4165 mails)

< Previous Next >
Compiling OpenGL apps on SuSE 8.2/DRI system
  • From: Chris Howells <lists@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2003 01:31:17 +0100
  • Message-id: <200304140129.03364.lists@xxxxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to compile KDE OpenGL apps on my SuSE 8.2 system which uses DRI
(and therefore Mesa 4.x which comes with XFree86). The programs were looking
for GL/glu.h, and these headers were contained in the mesaglu-5.0-62 package,
which seemed to be for the wrong version of Mesa. I installed it anyway. The
programs can now find GL/glu.h, but they fail because they can't find
libGL.la.

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor
- -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
- -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
- -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security
- -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
- -L/usr/X11R6/lib -L/home/devel/kde/qt-copy/lib -L/home/devel/kde/kde/lib -R
/home/devel/kde/kde/lib -R /home/devel/kde/qt-copy/lib -R /usr/X11R6/lib -o
kpolygon.kss polygon.o -lkdeui -lkscreensaver -lm -lMesaGLU -lMesaGL -lX11
libtool: link: cannot find the library `/usr/lib/libGL.la'

libGL.la is contained in mesa-devel, but this can't be installed because it
conflicts with the Mesa from XFree86.

What am I doing wrong?

In /usr/lib, I have the following files:

galadriel:/usr/lib # ls | grep GL
GL
libGL.a
libGL.so
libGL.so.1
libGLU.a
libGLU.la
libGLU.so
libGLU.so.1
libGLU.so.1.3
libMesaGL.a
libMesaGL.so
libMesaGL.so.3
libMesaGLU.la
libMesaGLU.so
libMesaGLU.so.3
libclanGL.so.0.6.3
libclanGL.so.2

Thanks,

- --
Cheers, Chris Howells -- chris@xxxxxxxxxxxxxxxxxx, howells@xxxxxxx
Web: http://chrishowells.co.uk, PGP ID: 33795A2C
KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+mgFVF8Iu1zN5WiwRApbHAKCWxvVP9f/Z+KmCUMLVFbwrfEgEugCgjxyo
PKVrNfBDR4bN1MBq0UUpRU4=
=8XPU
-----END PGP SIGNATURE-----


< Previous Next >
This Thread