Just a heads-up. (MSVC10) Alan
3> mathlib.c 3>C:\FlightGear\simgear\simgear\nasal\mathlib.c(130): error C2143: syntax error : missing ';' before 'type' 3>C:\FlightGear\simgear\simgear\nasal\mathlib.c(131): error C2065: 'range' : undeclared identifier 3>C:\FlightGear\simgear\simgear\nasal\mathlib.c(131): error C2065: 'range' : undeclared identifier 9>------ Build started: Project: test_state_machine, Configuration: Release Win32 ------ 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGSharedPtr<class simgear::StateMachine::State> __thiscall simgear::StateMachine::stateByIndex(unsigned int)const " (?stateByIndex@StateMachine@simgear@@QBE?AV?$SGSharedPtr@VState@StateMachine@simgear@@@@I@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGPropertyNode * __thiscall simgear::StateMachine::root(void)" (?root@StateMachine@simgear@@QAEPAVSGPropertyNode@@XZ) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::update(double)" (?update@StateMachine@simgear@@QAEXN@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::changeToState(class SGSharedPtr<class simgear::StateMachine::State>,bool)" (?changeToState@StateMachine@simgear@@QAEXV?$SGSharedPtr@VState@StateMachine@simgear@@@@_N@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGSharedPtr<class simgear::StateMachine::State> __thiscall simgear::StateMachine::findStateByName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?findStateByName@StateMachine@simgear@@QBE?AV?$SGSharedPtr@VState@StateMachine@simgear@@@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: int __thiscall simgear::StateMachine::indexOfState(class SGSharedPtr<class simgear::StateMachine::State>)const " (?indexOfState@StateMachine@simgear@@QBEHV?$SGSharedPtr@VState@StateMachine@simgear@@@@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall simgear::StateMachine::State::name(void)const " (?name@State@StateMachine@simgear@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGSharedPtr<class simgear::StateMachine::State> __thiscall simgear::StateMachine::state(void)const " (?state@StateMachine@simgear@@QBE?AV?$SGSharedPtr@VState@StateMachine@simgear@@@@XZ) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::init(void)" (?init@StateMachine@simgear@@QAEXXZ) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::Transition::setTriggerCondition(class SGCondition *)" (?setTriggerCondition@Transition@StateMachine@simgear@@QAEXPAVSGCondition@@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::Transition::addSourceState(class simgear::StateMachine::State *)" (?addSourceState@Transition@StateMachine@simgear@@QAEXPAVState@23@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGSharedPtr<class simgear::StateMachine::Transition> __thiscall simgear::StateMachine::createTransition(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class SGSharedPtr<class simgear::StateMachine::State>)" (?createTransition@StateMachine@simgear@@QAE?AV?$SGSharedPtr@VTransition@StateMachine@simgear@@@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$SGSharedPtr@VState@StateMachine@simgear@@@@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: class SGSharedPtr<class simgear::StateMachine::State> __thiscall simgear::StateMachine::createState(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?createState@StateMachine@simgear@@QAE?AV?$SGSharedPtr@VState@StateMachine@simgear@@@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: __thiscall simgear::StateMachine::StateMachine(void)" (??0StateMachine@simgear@@QAE@XZ) referenced in function "void __cdecl testBasic(void)" (?testBasic@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::changeToStateName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?changeToStateName@StateMachine@simgear@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) referenced in function "void __cdecl testBindings(void)" (?testBindings@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::State::addExitBinding(class SGBinding *)" (?addExitBinding@State@StateMachine@simgear@@QAEXPAVSGBinding@@@Z) referenced in function "void __cdecl testBindings(void)" (?testBindings@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::State::addEntryBinding(class SGBinding *)" (?addEntryBinding@State@StateMachine@simgear@@QAEXPAVSGBinding@@@Z) referenced in function "void __cdecl testBindings(void)" (?testBindings@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: void __thiscall simgear::StateMachine::Transition::addBinding(class SGBinding *)" (?addBinding@Transition@StateMachine@simgear@@QAEXPAVSGBinding@@@Z) referenced in function "void __cdecl testBindings(void)" (?testBindings@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: __thiscall SGBinding::SGBinding(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0SGBinding@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl testBindings(void)" (?testBindings@@YAXXZ) 9>state_machine_test.obj : error LNK2019: unresolved external symbol "public: static class simgear::StateMachine * __cdecl simgear::StateMachine::createFromPlist(class SGPropertyNode *,class SGPropertyNode *)" (?createFromPlist@StateMachine@simgear@@SAPAV12@PAVSGPropertyNode@@0@Z) referenced in function "void __cdecl testParse(void)" (?testParse@@YAXXZ) 9>C:\FlightGear\simgear\build\simgear\structure\Release\test_state_machine.exe : fatal error LNK1120: 20 unresolved externals ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel