RE: [gtk-list] Re: gtkGLmm problems....
- From: Devin Balkcom <balkcom jhu edu>
- To: gtk-list redhat com
- Subject: RE: [gtk-list] Re: gtkGLmm problems....
- Date: Mon, 20 Apr 1998 12:23:10 -0400 (EDT)
On 20-Apr-98 Janne Lof wrote:
> I downloaded and tried to compile it, but configure script cant
> find MesaGL libraries (I have them in /usr/local/lib/).
The gtkGL stuff looked pretty interesting, but I also ran into compile problems
with version .80. Specifically, the configure script couldn't find the
gtk,intgdk, or MesaGL libraries, all of which are in /usr/local/lib. I
have gtk 1.0 and Mesa 2.6; both seem to be installed correctly, since other
things compile with them. I tried --with-GL-prefix and --with-gtk-prefix but no
go. I looked at the config.log and it had some messages like this:
...
int main() {
glGetError()
; return 0; }
configure:2361: checking for glGetError in -lMesaGL
configure:2380: gcc -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib
-L/usr/X11R6/lib conf
test.c -lMesaGL 1>&5
/usr/local/lib/libMesaGL.so: undefined reference to `XFreePixmap'
/usr/local/lib/libMesaGL.so: undefined reference to `XShmDetach'
/usr/local/lib/libMesaGL.so: undefined reference to `XDrawString'
/usr/local/lib/libMesaGL.so: undefined reference to `XSync'
/usr/local/lib/libMesaGL.so: undefined reference to `XDrawPoint'
/usr/local/lib/libMesaGL.so: undefined reference to `XSetPlaneMask'
...
...
configure: failed program was:
#line 2369 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glGetError();
int main() {
glGetError()
; return 0; }
configure:2402: checking for g_debug in -lglib
configure:2421: gcc -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib
-L/usr/X11R6/lib conf
test.c -lglib 1>&5
configure:2442: checking for gdk_init in -lgdk
configure:2461: gcc -o conftest -g -O2 -L/usr/local/lib -L/usr/local/lib
-L/usr/X11R6/lib conf
test.c -lgdk 1>&5configure:2461: gcc -o conftest -g -O2 -L/usr/local/lib
-L/usr/local/lib
-L/usr/X11R6/lib conf
test.c -lgdk 1>&5
/usr/local/lib/libgdk.so: undefined reference to `XFreePixmap'
/usr/local/lib/libgdk.so: undefined reference to `XSetWMProtocols'
/usr/local/lib/libgdk.so: undefined reference to `XSetWMIconName'
/usr/local/lib/libgdk.so: undefined reference to `XShmDetach'
/usr/local/lib/libgdk.so: undefined reference to `XLowerWindow'
/usr/local/lib/libgdk.so: undefined reference to `XCreateFontCursor'
Hopefully you can help me by pointing out where I either have something
configured wrong, or where the configure script can be changed so that I can
compile gtkGL. I don't know anything about autoconf really since I'm pretty
new to Linux, but my guess is that the problem is in the lines
configure:2461: gcc -o conftest -g -O2 -L/usr/local/lib
-L/usr/local/lib
-L/usr/X11R6/lib conf
test.c -lgdk 1>&5
because I don't see something like -lX11 where I would expect it. Same thing
with the compile of the Mesa stuff.
It looks like a really cool package, I just wish I could compile it!
-Devin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]