|
From: John F. <ha...@vo...> - 2001-12-11 04:41:38
|
Here's the facts:
[1] Same code builds and runs under Linux
[2] run make to build libcgogl.a (my static lib which wraps
opengl), it all seems smooth.
[3] run make for client:
g++ -o cli
cli.o -L../library/lib/ -lglut32 -lopengl32 -lglu32 -lcgogl
get errors like:
../library/lib//libcgogl.a(rect2d.o.b): In function
`GLdoubleRect2D::draw(double
, double, double, double, bool)':
file://D/library/rect2d.cpp:90: undefined reference to
`_imp__glRectd@32'
file://D/library/rect2d.cpp:95: undefined reference to
`_imp__glVertex2d@16'
......
The _imp__gl<blah> stuff seems to be in libopengl32 and my
libcgogl. Is there some ar option I missed?
If I try to build a good GLUT app that is an EXE using GLUT
and OGL directly... all is well... builds and runs.
What obvious thing have I missed?
Thanks.
John Ferguson
|