Sid Boyce wrote:
Sid Boyce wrote:
gcc version 4.3.0 20071129 (experimental) [trunk revision 130511] (SUSE Linux) While trying to build sources that previously built with gcc-4.2, I have had to add header files, e.g <string.h>, <stdlib.h>, <memory>, <pm_config.h> to source files as I went along and met failures. Eventually I was able to build OpenSceneGraph successfully, but now I'm stuck with SimGear and can't find any suitable header files to include for the following error. g++ -DHAVE_CONFIG_H -I. -I../../../simgear -I../../.. -g -O2 -D_REENTRANT -MT ModelRegistry.o -MD -MP -MF .deps/ModelRegistry.Tpo -c -o ModelRegistry.o ModelRegistry.cxx ModelRegistry.cxx: In constructor ‘<unnamed>::OptionsPusher::OptionsPusher(const osgDB::ReaderWriter::Options*)’: ModelRegistry.cxx:220: error: no matching function for call to ‘find(std::_Deque_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, std::_Deque_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)’
make[4]: *** [ModelRegistry.o] Error 1
make[4]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear/scene/model'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear/scene'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ftp/dec07/SIMGEAR/SimGear/simgear'
make: *** [all-recursive] Error 1
Worth a bug report????
Regards
Sid.

It seems the header files have been rearranged for gcc-4.3. I did the latest cvs update to SimGear and it got past the error, I just needed to add the header files above and in one place <gmp_config.h> and it built. I'm going through a similar routine with FlightGear. Hope it doesn't segfault when I'm done.
Regards
Sid.


Luckily all went well and I have the latest FlighGear CVS up and running.
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to