Norman Vine wrote:
Erik Hofman writes:


Warning: resolving _glPopAttrib by linking to _glPopAttrib@0
It looks to me like there isn't any linking of the OpenGL libraries.
Did you see any warning message while running configure (for FlightGear)?
Hmm...

-lopengl is there in the link line

-lopengl32 -lpthread -lm -lglut32 -lglu32 -luser32 -lgdi32 -lplibsl
-lplibsm -lwinmm -lm
*but* it is in the wrong place
i.e Win32 linkage is quite different then Unix linkage and the order
of the libraries *is* important ie sybols must be resolved *after* they
are used.
so in this case '-lopengl32' must come after '-lglut32' and '-lglu32'
This seems akay in the current source:
LIBS="$LIBS -lglut32 -lglu32 -lopengl32"

Maybe you should check there isn't any configure.in in the FlightGear source and run autogen.sh again.

Erik


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to