List:MySQL++« Previous MessageNext Message »
From:Klaus Benner Date:January 12 2007 12:01am
Subject:Problems with Visual C++ Express
View as plain text  
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.
Thread
Problems with Visual C++ ExpressKlaus Benner12 Jan
  • Re: Problems with Visual C++ Expressgary clark12 Jan
    • Re: Problems with Visual C++ ExpressWarren Young12 Jan