Laurence Vanek wrote: > Curtis Olson wrote: >> On 1/11/07, *Laurence Vanek* wrote: >> >> After waiting about 20 minutes for OpensceneGraph to finish the >> gmake, I >> got this at the end: >> >> ======== >> . >> . >> . >> . >> gmake[3]: Entering directory >> `/home/lvanek/OpenSceneGraph/applications/osgconv/Linux32.Opt' >> g++ -O2 -W -Wall -fPIC -pipe -I../../../include -I/usr/X11R6/include >> -c ../OrientationConverter.cpp >> g++ -O2 -W -Wall -fPIC -pipe -I../../../include -I/usr/X11R6/include >> -c ../osgconv.cpp >> g++ -O2 -L/usr/X11R6/lib -L../../../lib/Linux32 >> OrientationConverter.o osgconv.o -lstdc++ -losgViewer -losgText >> -losg >> -losgUtil -losgGA -losgDB -lGLU -lGL -lOpenThreads -o osgconv >> ../../../lib/Linux32/libosgViewer.so: undefined reference to >> `OpenThreads::SetProcessorAffinityOfCurrentThread(unsigned int)' >> collect2: ld returned 1 exit status >> gmake[3]: *** [osgconv] Error 1 >> gmake[3]: Leaving directory >> `/home/lvanek/OpenSceneGraph/applications/osgconv/Linux32.Opt' >> gmake[2]: *** [osgconv.opt] Error 2 >> gmake[2]: Leaving directory >> `/home/lvanek/OpenSceneGraph/applications/osgconv' >> gmake[1]: *** [default] Error 1 >> gmake[1]: Leaving directory `/home/lvanek/OpenSceneGraph/applications' >> gmake: *** [default] Error 1 >> ============ >> >> Im running Fedora Core 6, my compiler is: >> >> ========== >> GNU Make 3.81 >> Copyright (C) 2006 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. >> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A >> PARTICULAR PURPOSE. >> =========== >> >> I had compiled & installed (without issues) cvs versions of >> OpenThreads >> & Producer prior the attempted build of OpenSceneGraph. >> >> >> >> Hmmm, I have had no problem building open scene graph on Fedora Core >> 6. I can think of anything obvious to try, but perhaps you could >> start from the top and do "make clean; make; make install" in the >> OpenThreads, Producer, and then OpenSceneGraph directories? >> >> Regards, >> >> Curt. >> -- >> Curtis Olson - University of Minnesota - FlightGear Project >> http://baron.flightgear.org/~curt/ >> <http://baron.flightgear.org/%7Ecurt/> >> http://www.humanfirst.umn.edu/ http://www.flightgear.org >> Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------ >> > Thank you for the advice. I will rebuild with your suggestions. > > At present I have been running with the FC6 repo supplied versions: > > OpenSceneGraph-1.2-1.fc6 > OpenSceneGraph-examples-1.2-1.fc6 > OpenSceneGraph-devel-1.2-1.fc6 > > OpenThreads-devel-1.2-1.fc6 > OpenThreads-1.2-1.fc6 > > Producer-devel-1.2-1.fc6 > Producer-1.2-1.fc6 > > > > They work so perhaps I shouldnt fix what isnt broke. > > I have, in my /etc/ld.so.conf file: > > /usr/local/include/simgear > /usr/local/include/OpenThreads > /usr/local/include/Producer > > so OGS should be able to find any stuff it needs. > >
The normal place libraries should go is in /usr/local/lib, with appropriate library search path in /etc/ld.so.conf, /usr/local/lib is sufficient for the linker to find them. /usr/local/include is for header files not libraries. Those lines look irrelevant. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
