Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Produce Error Example

From: Warren Young <mysqlpp(at)etr-usa.com>
Date: Wed Aug 29 2007 - 19:45:30 EDT


Mandy Llanes wrote:
> I want execute the example "examples/simple1.cpp"

Are you using the project files that shipped with MySQL++, or are you trying to create your own? If the latter, have you applied all the settings changes mentioned in README.vc?

> Error 1 error LNK2019: unresolved external symbol _mysql_shutdown@8
> referenced in function "public: bool __thiscall
> mysqlpp::Connection::shutdown(void)"
> (?shutdown@Connection@mysqlpp@@QAE_NXZ) connection.obj

It means it can't find the MySQL C API library. I hope it's not just missing, because that would mean you ignored the advice Jim Wallace gave to your previous post. The alternative is that it's not where the project settings expect it to be -- see README.vc -- or you've created your own project file and haven't included it; again, see README.vc.

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Wed Aug 29 19:54:04 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:03:06 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library