From: Warren Young Date: June 27 2007 9:55pm Subject: Re: cannot build simple1 List-Archive: http://lists.mysql.com/plusplus/6715 Message-Id: <4682DCED.60802@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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.