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
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
-none-

-none-

2007-09-21       - By Jim Wallace

 Back
You must not have the MySQL Developer files installed, or not have them
in your include path.  If installed they are in C:\Program
Files\MySQL\MySQL Server 5.0\include

If not installed you can re-run the MySQL install and pick the Developer
option, which is *not* installed by default.

-- --Original Message-- --
From: David Sevier [mailto:latentknowledge@(protected)]
Sent: Friday, September 21, 2007 2:22 PM
To: plusplus@(protected)
Subject: Can't get a project to build in VC++

Hi,

I've got one of those really frustrating issues.

I built mysql++, did the install of the libraries, and tested the sample
code. Worked fine.

I'm now trying to work on my own project using mysql++ and I get these
errors:
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(183) :
1>error
C2146: syntax error : missing ';' before identifier 'fd'
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(183) :
1>error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(183) :
1>error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(358) :
1>error
C2065: 'SOCKET' : undeclared identifier
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(358) :
1>error
C2146: syntax error : missing ')' before identifier 's'
1>c:\program files\mysql\mysql server 5.0\include\mysql_com.h(359) :
1>error
C2059: syntax error : ')'
1>c:\programming\mysql++-2.3.2\lib\null.h(61) : error C2143: syntax
error :
missing ';' before 'constant'
1>c:\programming\mysql++-2.3.2\lib\null.h(61) : error C2059: syntax
error :
'constant'