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()
 
Problems with Visual C++ Express

Problems with Visual C++ Express

2007-01-11       - By Klaus Benner

 Back
Reply:     1     2     3  

Hello,

I seem to have troubles building the files in the /lib and /examples
directories. I am using Visual C++ Express, and after I open and convert the
.dsw file to .vcproj, I get the error appended to at the end of this message.
Basically, it tries to include a "mysql.h" file, and can't seem to find it. I
searched for such a file manually, and there is none in the mysql++-2.1.1.tar
.gz archive. I even tried replacing the #include directive in all those files in
order for them to point to a mysql++.h library, but that turns out not to solve
the problem, as I get a host of other (100+) errors. What am I doing wrong?

-- --- Build started: Project: mysqlpp, Configuration: Debug Win32 -- ---
Compiling...
coldata.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
connection.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
datetime.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
field_names.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
field_types.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
fields.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
manip.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
myset.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
qparms.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
query.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
result.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
row.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
sql_string.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
string_util.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
transaction.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
type_info.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
vallist.cpp
d:\mysql++-2.1.1\lib\defs.h(34) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
Generating Code...
Build log was saved at "file://d:\mysql++-2.1.1\lib\Debug\mysqlpp\BuildLog.htm"
mysqlpp - 17 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
__ __
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.