List:MySQL++« Previous MessageNext Message »
From:CORY S SANCHEZ Date:January 22 2007 12:25am
Subject:VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.lib
View as plain text  

Hello everyone,

I'm running Microsoft Visual Studio, I also have installed mySQL 5.0 and

 I followed the instructions in the vc read me supplied in mySQL++.  I also looked at the
older threads that had a similar problem that was solved by building the lib.dsw first
then building the examples.  

When I try to build the examples, I get the following Error:

1>------ Build started: Project: custom2, Configuration: Debug Win32 ------
1>Compiling manifest to resources...
1>LINK : fatal error LNK1104: cannot open file 'mysqlpp.lib'
1>Build log was saved at
> "file://c:\mysql++-2.1.1\examples\Debug\custom2\BuildLog.htm"
1>custom2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

So I then went to build the lib.dsw located here first: 
C:\mysql++2.1.1\lib\lib.dswand oddly I got the following errors:
1>.\connection.cpp(165) : error C2065: 'ulong' : undeclared identifier
1>.\connection.cpp(165) : error C2143: syntax error : missing ')' before 'constant'
1>.\connection.cpp(165) : error C2059: syntax error : ')'

They where the only 3 errors out of the build of lib.dsw.It says its in this fragment of
code:#if MYSQL_VERSION_ID >= 40101
    if (option_pending(opt_multi_statements, true)) {
        client_flag |= CLIENT_MULTI_STATEMENTS;
#endif Any idea what is going on or what i'm doing incorrectly?  Thank you.  

VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.libCORY S SANCHEZ22 Jan
  • RE: VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.libMatt Dargavel22 Jan