Vikas N Kumar schrieb:
Hi Friends,
I have been trying to compile OSG for the last few days. This is the
consistent bug i get with the latest CVS.
I am not familiar with the code, so any help will be appreciated.
I use Slamd64, an x86_64 version of Slackware, with the 2.6.16.29
kernel and gcc-3.4.6 .
g++ -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
-I/usr/X11R6/include -c ../ViewerEventHandler.cpp
g++ -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
-I/usr/X11R6/include -c ../Viewer.cpp
g++ -O2 -W -Wall -fPIC -pipe -DOSGPRODUCER_LIBRARY -I../../../include
-I/usr/X11R6/include -c ../Version.cpp
g++ -O2 -L/usr/X11R6/lib64 -L../../../lib/Linux64 -shared
KeyboardMouseCallback.o GraphicsContextImplementation.o
OsgCameraGroup.o OsgSceneHandler.o ViewerEventHandler.o Viewer.o
Version.o -lstdc++ -lProducer -lGLU -lGL -losgText -losgGA
-losgUtil -losgDB -losg -lOpenThreads -o libosgProducer.so
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' referenced in section
`.rodata' of ViewerEventHandler.o: defined in discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics3endEv' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKj' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKt' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh'
referenced in section `.rodata' of ViewerEventHandler.o: defined in
discarded section
`.gnu.linkonce.t._ZN7osgUtil10Statistics12drawElementsEjiPKh' of
ViewerEventHandler.o
`.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' referenced
in section `.rodata' of ViewerEventHandler.o: defined in discarded
section `.gnu.linkonce.t._ZN7osgUtil10Statistics10drawArraysEjii' of
ViewerEventHandler.o
collect2: ld returned 1 exit status
make[3]: *** [libosgProducer.so] Error 1
make[3]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer/Linux64.Opt'
make[2]: *** [libosgProducer.so.opt] Error 2
make[2]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src/osgProducer'
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/mnt/extra/FLIGHTGEAR/OpenSceneGraph/OpenSceneGraph/src'
make: *** [default] Error 1
Thanks
Vikas
Hi,
I don´t have 64 bit Linux, so just a few general suggestions:
- do you need the new features form cvs? You could try OSG 1.2
- if you use 64 bit Linux, why do you use such an old compiler? I don´t
know much about 64 bit problems, but gcc is now way into the 4.x series,
I think
On the other hand, osg compiles fine with a 3.x gcc usually. Try the 1.2
or hope for more competent help.
Regards,
Andreas
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/