Re: [Flightgear-devel] Trouble compiling: undefined reference to ssgCullAndDraw(ssgRoot*)

2003-03-29 Thread John A. Gallas
Curt,

Thanks for the suggestion - actually I figured it out
just yesterday.  I switched back to the non-cvs plib
tgz file (v. 1.6.0) and it worked fine.  And yes, I
had used the same compiler for all of the code.

The function definitions in the cvs version of plib
and in the 1.6.0 tarball do not match up.  Compare:

in plib-cvs/src/ssg:
[EMAIL PROTECTED] ssg]$ grep CullAndDraw *
Binary file libplibssg.a matches
ssg.cxx:void ssgCullAndDraw ( ssgBranch *r )
ssg.h:void ssgCullAndDraw ( ssgBranch *root ) ;

in plib-1.6.0/src/ssg
[EMAIL PROTECTED] ssg]$ grep CullAndDraw *
Binary file libplibssg.a matches
ssg.cxx:void ssgCullAndDraw ( ssgRoot *r )
ssg.h:void ssgCullAndDraw ( ssgRoot *root ) ;

I'm not experienced enough to know, maybe this is just
something that my compiler should be overlooking.  

Take care,

John



John,

Have you compiled plib with the same compiler as the
rest of the code?

Curt.


John A. Gallas writes:
 Hello all,
 
 I downloaded the cvs source tree for the first time
 yesterday and all the compiling went okay, but it
 won't link.  Here is the output:
 
 [EMAIL PROTECTED] Main]$ make
 g++ -DPKGLIBDIR=\/usr/local/lib/FlightGear\ -g
-O2 
 -L/usr/X11R6/lib -o fgfs  
 main.o fg_commands.o fg_init.o fg_io.o fg_props.o

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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


Re: [Flightgear-devel] Trouble compiling: undefined reference to ssgCullAndDraw(ssgRoot*) ???

2003-03-28 Thread Curtis L. Olson
John,

Have you compiled plib with the same compiler as the rest of the code?

Curt.


John A. Gallas writes:
 Hello all,
 
 I downloaded the cvs source tree for the first time
 yesterday and all the compiling went okay, but it
 won't link.  Here is the output:
 
 [EMAIL PROTECTED] Main]$ make
 g++ -DPKGLIBDIR=\/usr/local/lib/FlightGear\ -g -O2 
 -L/usr/X11R6/lib -o fgfs  
 main.o fg_commands.o fg_init.o fg_io.o fg_props.o
 fgfs.o globals.o logger.o opti
 ons.o splash.o util.o viewer.o viewmgr.o location.o
 ../../src/Aircraft/libAircra
 ft.a ../../src/ATC/libATC.a
 ../../src/Autopilot/libAutopilot.a ../../src/Cockpit
 /libCockpit.a ../../src/Cockpit/built_in/libBuilt_in.a
 ../../src/Controls/libCon
 trols.a ../../src/FDM/libFlight.a
 ../../src/FDM/Balloon/libBalloon.a ../../src/F
 DM/ExternalNet/libExternalNet.a
 ../../src/FDM/ExternalPipe/libExternalPipe.a ../
 ../src/FDM/JSBSim/libJSBSim.a
 ../../src/FDM/YASim/libYASim.a ../../src/FDM/JSBSi
 m/filtersjb/libfiltersjb.a
 ../../src/FDM/LaRCsim/libLaRCsim.a ../../src/FDM/UIUC
 Model/libUIUCModel.a ../../src/GUI/libGUI.a
 ../../src/Input/libInput.a ../../src
 /Instrumentation/libInstrumentation.a
 ../../src/Model/libModel.a ../../src/Netwo
 rk/libNetwork.a ../../src/Navaids/libNavaids.a
 ../../src/Scenery/libScenery.a ..
 /../src/Scripting/libScripting.a
 ../../src/Sound/libSound.a ../../src/Airports/l
 ibAirports.a ../../src/MultiPlayer/libMultiPlayer.a 
 ../../src/Objects/libObject
 s.a ../../src/Systems/libSystems.a
 ../../src/Time/libTime.a ../../src/Environmen
 t/libEnvironment.a -lsgroute -lsgsky -lsgephem
 -lsgtiming -lsgio -lsgscreen -lsg
 math -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml
 -lsgserial  -lplibpu -lpli
 bfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul
 -lplibpsl -lmk4 -lz -lglut -
 lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11
 -lpthread -lm  -lplibsl -lplib
 sm -lm 
 main.o: In function `trRenderFrame()':
 /home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 undefined reference to `ssgCullAndDraw(ssgRoot*)'
 /home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 undefined reference to `ssgCullAndDraw(ssgRoot*)'
 /home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 undefined reference to `ssgCullAndDraw(ssgRoot*)'
 main.o: In function `fgRenderFrame()':
 /home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 undefined reference to `ssgCullAndDraw(ssgRoot*)'
 /home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 undefined reference to `ssgCullAndDraw(ssgRoot*)'
 main.o:/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
 more undefined references to
 `ssgCullAndDraw(ssgRoot*)' follow
 collect2: ld returned 1 exit status
 make: *** [fgfs] Error 1
 [EMAIL PROTECTED] Main]$ 
 
 
 Im using the current cvs versions of plib and
 SimGear, which compiled and installed without a
 problem.  Do I need to update something else?
 
 Thanks very much,
 
 John Gallas
 
 __
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 http://platinum.yahoo.com
 
 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program   FlightGear Project
Twin Cities[EMAIL PROTECTED]  [EMAIL PROTECTED]
Minnesota  http://www.menet.umn.edu/~curt   http://www.flightgear.org

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


[Flightgear-devel] Trouble compiling: undefined reference to ssgCullAndDraw(ssgRoot*) ???

2003-03-26 Thread John A. Gallas
Hello all,

I downloaded the cvs source tree for the first time
yesterday and all the compiling went okay, but it
won't link.  Here is the output:

[EMAIL PROTECTED] Main]$ make
g++ -DPKGLIBDIR=\/usr/local/lib/FlightGear\ -g -O2 
-L/usr/X11R6/lib -o fgfs  
main.o fg_commands.o fg_init.o fg_io.o fg_props.o
fgfs.o globals.o logger.o opti
ons.o splash.o util.o viewer.o viewmgr.o location.o
../../src/Aircraft/libAircra
ft.a ../../src/ATC/libATC.a
../../src/Autopilot/libAutopilot.a ../../src/Cockpit
/libCockpit.a ../../src/Cockpit/built_in/libBuilt_in.a
../../src/Controls/libCon
trols.a ../../src/FDM/libFlight.a
../../src/FDM/Balloon/libBalloon.a ../../src/F
DM/ExternalNet/libExternalNet.a
../../src/FDM/ExternalPipe/libExternalPipe.a ../
../src/FDM/JSBSim/libJSBSim.a
../../src/FDM/YASim/libYASim.a ../../src/FDM/JSBSi
m/filtersjb/libfiltersjb.a
../../src/FDM/LaRCsim/libLaRCsim.a ../../src/FDM/UIUC
Model/libUIUCModel.a ../../src/GUI/libGUI.a
../../src/Input/libInput.a ../../src
/Instrumentation/libInstrumentation.a
../../src/Model/libModel.a ../../src/Netwo
rk/libNetwork.a ../../src/Navaids/libNavaids.a
../../src/Scenery/libScenery.a ..
/../src/Scripting/libScripting.a
../../src/Sound/libSound.a ../../src/Airports/l
ibAirports.a ../../src/MultiPlayer/libMultiPlayer.a 
../../src/Objects/libObject
s.a ../../src/Systems/libSystems.a
../../src/Time/libTime.a ../../src/Environmen
t/libEnvironment.a -lsgroute -lsgsky -lsgephem
-lsgtiming -lsgio -lsgscreen -lsg
math -lsgbucket -lsgdebug -lsgmagvar -lsgmisc -lsgxml
-lsgserial  -lplibpu -lpli
bfnt -lplibjs -lplibnet -lplibssg -lplibsg -lplibul
-lplibpsl -lmk4 -lz -lglut -
lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11
-lpthread -lm  -lplibsl -lplib
sm -lm 
main.o: In function `trRenderFrame()':
/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
undefined reference to `ssgCullAndDraw(ssgRoot*)'
/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
undefined reference to `ssgCullAndDraw(ssgRoot*)'
/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
undefined reference to `ssgCullAndDraw(ssgRoot*)'
main.o: In function `fgRenderFrame()':
/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
undefined reference to `ssgCullAndDraw(ssgRoot*)'
/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
undefined reference to `ssgCullAndDraw(ssgRoot*)'
main.o:/home/john/myfiles/FlightGear/src/Main/../../src/Scenery/scenery.hxx:323:
more undefined references to
`ssgCullAndDraw(ssgRoot*)' follow
collect2: ld returned 1 exit status
make: *** [fgfs] Error 1
[EMAIL PROTECTED] Main]$ 


Im using the current cvs versions of plib and
SimGear, which compiled and installed without a
problem.  Do I need to update something else?

Thanks very much,

John Gallas

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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