List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:June 27 2007 9:55pm
Subject:Re: cannot build simple1
View as plain text  
Wynn Taylor wrote:
> 
> 1>------ Build started: Project: test, Configuration: Debug Win32 ------
> 1>Linking...
> 1>test.obj : error LNK2019: unresolved external symbol "bool __cdecl
> connect_to_db(int,char * * const,class mysqlpp::Connection &,char const *)"
> (?connect_to_db@@YA_NHQAPADAAVConnection@mysqlpp@@PBD@Z) referenced in
> function _main
> 1>C:\Documents and Settings\wynn.t\My Documents\Visual Studio
> 2005\Projects\test\Debug\test.exe : fatal error LNK1120: 1 unresolved
> externals
> 1>Build log was saved at "file://c:\Documents and Settings\wynn.t\My
> Documents\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm"
> 1>test - 2 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Most of the example programs depend on the util module, which you 
apparently didn't copy into your test project.
Thread
cannot build simple1Wynn Taylor27 Jun
  • Re: cannot build simple1Wynn Taylor27 Jun
    • Re: cannot build simple1Warren Young27 Jun
  • Re: cannot build simple1Warren Young27 Jun
  • Borland c++ buildermosaed28 Jun
    • Re: Borland c++ builderWarren Young29 Jun
  • Re: Borland c++ buildermosaed29 Jun