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.