#include <simgear/scene/tgdb/GroundLightManager.hxx> was there and
I also added "#include <simgear/scene/model/ModelRegistry.hxx>" to 
src/Main/renderer.cxx
osg svn, simgear cvs, and FlighGear snapshot all 5th. Feb., also just 
updated simgear cvs and got same errors.

g++ -DPKGLIBDIR=\"/usr/local/share/FlightGear/FlightGear\" -g -O2 
-I/usr/local -D_REENTRANT  -L/usr/local/lib -L/usr/X11R6/lib -o fgfs 
bootstrap.o ../../src/Main/libMain.a ../../src/Aircraft/libAircraft.a 
../../src/ATC/libATC.a ../../src/Cockpit/libCockpit.a 
../../src/Cockpit/built_in/libBuilt_in.a ../../src/FDM/libFlight.a 
../../src/FDM/Balloon/libBalloon.a 
../../src/FDM/ExternalNet/libExternalNet.a 
../../src/FDM/ExternalPipe/libExternalPipe.a 
../../src/FDM/JSBSim/libJSBSim.a 
../../src/FDM/JSBSim/initialization/libInit.a 
../../src/FDM/JSBSim/models/libModels.a 
../../src/FDM/JSBSim/models/flight_control/libFlightControl.a 
../../src/FDM/JSBSim/models/atmosphere/libAtmosphere.a 
../../src/FDM/JSBSim/models/propulsion/libPropulsion.a 
../../src/FDM/JSBSim/input_output/libInputOutput.a 
../../src/FDM/JSBSim/math/libMath.a ../../src/FDM/YASim/libYASim.a 
../../src/FDM/LaRCsim/libLaRCsim.a 
../../src/FDM/UIUCModel/libUIUCModel.a ../../src/FDM/SP/libSPFDM.a 
../../src/GUI/libGUI.a ../../src/Autopilot/libAutopilot.a 
../../src/Input/libInput.a ../../src/Instrumentation/KLN89/libKLN89.a 
../../src/Instrumentation/libInstrumentation.a 
../../src/Instrumentation/HUD/libHUD.a ../../src/Model/libModel.a 
../../src/Network/libNetwork.a ../../src/Navaids/libNavaids.a 
../../src/Scenery/libScenery.a ../../src/Scripting/libScripting.a 
../../src/Sound/libSound.a ../../src/Airports/libAirports.a 
../../src/MultiPlayer/libMultiPlayer.a ../../src/AIModel/libAIModel.a 
../../src/Systems/libSystems.a ../../src/Time/libTime.a 
../../src/Traffic/libTraffic.a ../../src/Environment/libEnvironment.a 
-lsgroute -lsgsky -lsgsound -lsgephem -lsgmaterial -lsgtgdb -lsgmodel 
-lsgutil -lsgtiming -lsgio -lsgscreen -lsgmath -lsgbucket -lsgprops 
-lsgdebug -lsgmagvar -lsgmisc -lsgnasal -lsgxml -lsgsound -lsgserial 
-lsgstructure -lsgenvironment -lplibpuaux -lplibpu -lplibfnt -lplibjs 
-lplibnet -lplibsg -lplibul  -lsgthreads -lpthread   -lz -lglut -lGLU 
-lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -ldl -lm  -lalut -lopenal 
-ldl -lm   -lpthread  -losgSim -losgViewer -losgGA -losgText -losgDB 
-losgUtil -losg -lOpenThreads  -losgFX
../../src/Main/libMain.a(renderer.o): In function 
`FGRenderer::update(bool)':
/usr/local/lib64/FlightGear/src/Main/renderer.cxx:808: undefined 
reference to `simgear::GroundLightManager::instance()'
/usr/local/lib64/FlightGear/src/Main/renderer.cxx:808: undefined 
reference to `simgear::GroundLightManager::update(SGUpdateVisitor const*)'
/usr/local/lib64/FlightGear/src/Main/renderer.cxx:813: undefined 
reference to `simgear::GroundLightManager::instance()'
/usr/local/lib64/FlightGear/src/Main/renderer.cxx:813: undefined 
reference to 
`simgear::GroundLightManager::getLightNodeMask(SGUpdateVisitor const*)'
../../src/Scenery/libScenery.a(tileentry.o): In function 
`ModelRegistryCallbackProxy':
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:249: undefined 
reference to `simgear::ModelRegistry::getInstance()'
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:249: undefined 
reference to 
`simgear::ModelRegistry::addNodeCallbackForExtension(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
osgDB::Registry::ReadFileCallback*)'
/usr/local/lib64/libsgsky.a(cloud.o): In function `SGMakeState':
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/cloud.cxx:90: 
undefined reference to `simgear::makeOptionsFromPath(SGPath const&)'
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/cloud.cxx:94: 
undefined reference to `simgear::StateAttributeFactory::instance()'
/usr/local/lib64/libsgsky.a(cloud.o): In function `SGCloudLayer':
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/cloud.cxx:187: 
undefined reference to `simgear::StateAttributeFactory::instance()'
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/cloud.cxx:187: 
undefined reference to `simgear::StateAttributeFactory::instance()'
/usr/local/lib64/libsgsky.a(oursun.o): In function `SGSun::build(SGPath, 
double, SGPropertyNode*)':
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/oursun.cxx:72: 
undefined reference to `simgear::makeOptionsFromPath(SGPath const&)'
/usr/local/lib64/libsgsky.a(moon.o): In function `SGMoon::build(SGPath, 
double)':
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/sky/moon.cxx:78: 
undefined reference to `simgear::makeOptionsFromPath(SGPath const&)'
/usr/local/lib64/libsgtgdb.a(SGReaderWriterBTG.o): In function 
`ModelRegistryCallbackProxy':
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/tgdb/../../../simgear/scene/model/ModelRegistry.hxx:249:
 
undefined reference to `simgear::ModelRegistry::getInstance()'
/ftp/sep07/STUFF_TO_BUILD/FGFS/SimGear/simgear/scene/tgdb/../../../simgear/scene/model/ModelRegistry.hxx:249:
 
undefined reference to 
`simgear::ModelRegistry::addNodeCallbackForExtension(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
osgDB::Registry::ReadFileCallback*)'
/usr/local/lib64/libsgtgdb.a(obj.o): In function 
`SGLoadBTG(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, SGMaterialLib*, bool, bool)':
####Other stuff truncated ######

# grep -r GroundLightManager /usr/local/include/*
/usr/local/include/simgear/scene/tgdb/GroundLightManager.hxx:// 
GroundLightManager.hxx - manage StateSets for point lights
/usr/local/include/simgear/scene/tgdb/GroundLightManager.hxx:class 
GroundLightManager : public osg::Referenced {
/usr/local/include/simgear/scene/tgdb/GroundLightManager.hxx: 
GroundLightManager();
/usr/local/include/simgear/scene/tgdb/GroundLightManager.hxx:    static 
GroundLightManager* instance();

# grep -r ModelRegistry /usr/local/include/*
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:// 
ModelRegistry.hxx -- interface to the OSG model registry
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:class 
ModelRegistryCallback : public osgDB::Registry::ReadFileCallback {
/usr/local/include/simgear/scene/model/ModelRegistry.hxx: 
ModelRegistryCallback(const std::string& extension) :
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:    virtual 
~ModelRegistryCallback() {}
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:typedef 
ModelRegistryCallback<DefaultProcessPolicy, DefaultCachePolicy,
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:class 
ModelRegistry : public osgDB::Registry::ReadFileCallback {
/usr/local/include/simgear/scene/model/ModelRegistry.hxx: 
ModelRegistry();
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:    static 
ModelRegistry* getInstance();
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:    virtual 
~ModelRegistry() {}
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:    static 
osg::ref_ptr<ModelRegistry> instance;
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:typedef 
ModelRegistryCallback<DefaultProcessPolicy, NoCachePolicy,
/usr/local/include/simgear/scene/model/ModelRegistry.hxx:class 
ModelRegistryCallbackProxy
/usr/local/include/simgear/scene/model/ModelRegistry.hxx: 
ModelRegistryCallbackProxy(std::string extension)
/usr/local/include/simgear/scene/model/ModelRegistry.hxx: 
ModelRegistry::getInstance()

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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to