[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: RE: VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.lib
From: "Matt Dargavel" <matt () shout-telecoms ! com>
Date: 2007-01-22 12:27:25
Message-ID: 005201c73e20$ae945220$0bbcf660$ () com
[Download RAW message or body]
I believe the ulong problem has been fixed in the latest version of mysql++.
You can get the v2.2 beta from http://tangentsoft.net/mysql++/ or from svn.
> -----Original Message-----
> From: CORY S SANCHEZ [mailto:css204@psu.edu]
> Sent: 22 January 2007 00:25
> To: plusplus@lists.mysql.com
> Subject: VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.lib
>
>
>
> Hello everyone,
>
> I'm running Microsoft Visual Studio 2005.net, I also have installed
> mySQL 5.0 and mySQL++2.1.1.
>
> 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...
> 1>custom2.cpp
> 1>Compiling manifest to resources...
> 1>Linking...
> 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>coldata.cpp
> 1>connection.cpp
> 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 : ')'
> 1>datetime.cpp
>
> 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.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql-plusplus@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic