Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error LNK2019: unresolved external symbol

Status
Not open for further replies.

blueicelt

Programmer
May 14, 2007
2
0
0
US
7>------ Build started: Project: apppsclient, Configuration: Debug Win32 ------
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: __thiscall FunctionParser::~FunctionParser(void)" (??1FunctionParser@@QAE@XZ) referenced in function __unwindfunclet$??0MathScriptLine@@QAE@PBDPAVMathScript@@@Z$0
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall FunctionParser::AddFunction(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double (__cdecl*)(double const *),unsigned int)" (?AddFunction@FunctionParser@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@P6ANPBN@ZI@Z) referenced in function "public: __thiscall MathScriptLine::MathScriptLine(char const *,class MathScript *)" (??0MathScriptLine@@QAE@PBDPAVMathScript@@@Z)
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: __thiscall FunctionParser::FunctionParser(void)" (??0FunctionParser@@QAE@XZ) referenced in function "public: __thiscall MathScriptLine::MathScriptLine(char const *,class MathScript *)" (??0MathScriptLine@@QAE@PBDPAVMathScript@@@Z)
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: void __thiscall FunctionParser::Optimize(void)" (?Optimize@FunctionParser@@QAEXXZ) referenced in function "protected: void __thiscall MathScriptLine::parseFormula(class MathScript *)" (?ParseFormula@MathScriptLine@@IAEXPAVMathScript@@@Z)
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: char const * __thiscall FunctionParser::ErrorMsg(void)const " (?ErrorMsg@FunctionParser@@QBEPBDXZ) referenced in function "protected: void __thiscall MathScriptLine::parseFormula(class MathScript *)" (?ParseFormula@MathScriptLine@@IAEXPAVMathScript@@@Z)
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: int __thiscall FunctionParser::parse(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?Parse@FunctionParser@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0_N@Z) referenced in function "protected: void __thiscall MathScriptLine::parseFormula(class MathScript *)" (?ParseFormula@MathScriptLine@@IAEXPAVMathScript@@@Z)
6>libpsutil_d.lib(mathscript.obj) : error LNK2019: unresolved external symbol "public: double __thiscall FunctionParser::Eval(double const *)" (?Eval@FunctionParser@@QAENPBN@Z) referenced in function "public: void __thiscall MathScriptLine::Execute(void)" (?Execute@MathScriptLine@@QAEXXZ)
6>..\..\out\debug8\build\apppawseditor\\pawseditor.exe : fatal error LNK1120: 7 unresolved externals
6>Build log was saved at "file://c:\development\planeshift\out\debug8\build\apppawseditor\BuildLog.htm"
6>apppawseditor - 8 error(s), 0 warning(s)

These are the errors i recieve when i try to build, and I have no clue where to begin in fixing this. Help please?
 
If the functions you're calling are in a .lib file, maybe you forgot to add it to your Link properties?
 
Make sure FunctionParser.cpp is added to your project.
 
hey thanks completely forgot about that, the project apppawseditor was missing a dependecy check for libfparser. appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top