I did a CVS update of SimGear and FG yesterday and I'm getting linker
errors, but I don't understand why?



../../src/Navaids/libNavaids.a(positioned.o): In function
`FGPositioned::typeFromName(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
/home/scotth/Downloads/FlightGear/CVS-1.0/source/src/Navaids/positioned.cxx:507:
 undefined reference to 
`simgear::strutils::convertToLowerCase(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status


Line 507 of positioned.cxx



  std::string lowerName(simgear::strutils::convertToLowerCase(aName));




and the matching strutils.cxx


       string
        strip( const string& s )
        {
            return do_strip( s, BOTHSTRIP );
        }

  string convertToLowerCase(const string& str)
  {
    // proxy onto osgDB - easy to reimplement here, but let's avoid
    // code duplication for the moment.
    return osgDB::convertToLowerCase(str);
  }

    } // end namespace strutils
} // end namespace simgear



and by implication the cvs log reveals....

revision 1.5                                                     
date: 2009/09/26 11:44:33;  author: jmt;  state: Exp;  lines: +13 -1
Extend simgear::strutils with convertToLowerCase helper - currently a
proxy for osgDB helper of the same name.
----------------------------                                                    
                              
revision
1.4                                                                             
                     
date: 2008/04/13 21:11:44;  author: timoore;  state: Exp;  lines: +5
-3                                       
Fixes for compiling with gcc
4.3                                                                             
 

Include standard header files and qualify with std:: where needed.

Add "const" to various char parameters and variables.
----------------------------




------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to