visual studio 2005 - Problem compiling Eliza chatbot C++ error LNK2019 -
firstly not c++ programmer , never intend - sql, javascript , php developer. module @ univeristy have alter chatbot project demonstrate ai , nlp.
while own exasperation (at being handed assignment requires background knowledge in subject matter have never been taight in 3 years here) irrelevant, attempting dive in , learn bit of c++, computer logic is, hope, universal across languages. point not knowledgeable in this, , apologise that. have searched error (there lot) don't understand of solutions.
anyway, getting these errors when compile:
1>eliza.obj : error lnk2019: unresolved external symbol "public: void __thiscall lex::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?load@lex@@qaexabv?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@z) referenced in function _main 1>eliza.obj : error lnk2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall lex::partofspeech(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?partofspeech@lex@@qae?av?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@v23@@z) referenced in function "void __cdecl showlexvalues(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)" (?showlexvalues@@yaxaav?$vector@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@v?$allocator@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@2@@std@@@z) 1>eliza.obj : error lnk2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall lex::meaning(void)" (?meaning@lex@@qae?av?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@xz) referenced in function "void __cdecl showlexvalues(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)" (?showlexvalues@@yaxaav?$vector@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@v?$allocator@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@2@@std@@@z) 1>eliza.obj : error lnk2019: unresolved external symbol "public: bool __thiscall lex::contains(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" (?contains@lex@@qae_naav?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@z) referenced in function "void __cdecl showlexvalues(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)" (?showlexvalues@@yaxaav?$vector@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@v?$allocator@v?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@@2@@std@@@z) 1>c:\users\minky\documents\chatbot\eliza4\debug\elizav4.exe : fatal error lnk1120: 4 unresolved externals i have tried changing subsystem, read - did not work. have tried looking things supposed link, don't know how. have new installation of visual studio 2005.
can me please? start making headway on immediately. here project file http://www.mediafire.com/?3xvnb37449i65x9
this code should work straight out box, speak, project files supposed start , subsequently add to.
with in mind, think there problem configuration? project files supposed go somewhere specific vs can find , reference libraries or (i'm clutching @ straws here)? said, had found thread talking subsystems, tried changing, no joy
i really need crackin on - again want point out not trying learn c++, project tool demonstrate nlp. while realise there reluctance people give people answer, merely trying working can started. have searched , yes there lot of similiar threads, have literally no knowledge of c++ @ all, unhelpful me. problem configuration or something
any appreciated
take @ this: http://msdn.microsoft.com/en-us/library/799kze2z%28v=vs.80%29.aspx
that should answer question. also, if using code libraries these not being linked correctly.
very helpful! Here you will get all kind of solution like
ReplyDeleteforgot dlink admin password
routers dlink
D-link Tech Support