Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.lib

VS 2005 w/ mySQL 2.1.1 cannot open mysqlpp.lib

2007-01-21       - By CORY S SANCHEZ

 Back
Reply:     1     2  



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.