dbTalk Databases Forums  

mysql.h not found :~

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss mysql.h not found :~ in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dolf Schimmel
 
Posts: n/a

Default mysql.h not found :~ - 10-08-2005 , 06:56 PM






Hi,

I dwnloaded the mysql++ wrapper, so I could enter my mysqldb using c++
(http://www.tangentsoft.net/mysql++/)

I did everything the documentations says: unzip it, ./configure ,
make, make install, but when I then try to compile
/examples/simple1.cpp it goes wrong, I get all kind of errors that
mysql.h wasn't to be found. Anybody who knows how I can solve this?

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Chris Frey
 
Posts: n/a

Default Re: mysql.h not found :~ - 10-08-2005 , 11:56 PM






On Sun, Oct 09, 2005 at 01:55:34AM +0200, Dolf Schimmel wrote:
Quote:
I did everything the documentations says: unzip it, ./configure ,
make, make install, but when I then try to compile
/examples/simple1.cpp it goes wrong, I get all kind of errors that
mysql.h wasn't to be found. Anybody who knows how I can solve this?
Take a look at examples/Makefile.simple. You need to include the
mysql++ include directory on the command line.

- Chris


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Dolf Schimmel
 
Posts: n/a

Default Re: mysql.h not found :~ - 10-09-2005 , 05:22 AM



On 10/9/05, Chris Frey <cdfrey (AT) foursquare (DOT) net> wrote:
Quote:
On Sun, Oct 09, 2005 at 01:55:34AM +0200, Dolf Schimmel wrote:
I did everything the documentations says: unzip it, ./configure ,
make, make install, but when I then try to compile
/examples/simple1.cpp it goes wrong, I get all kind of errors that
mysql.h wasn't to be found. Anybody who knows how I can solve this?

Take a look at examples/Makefile.simple. You need to include the
mysql++ include directory on the command line.
How should I include that directory, and where is it located by default?

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #4  
Old   
Warren Young
 
Posts: n/a

Default Re: mysql.h not found :~ - 10-09-2005 , 03:53 PM



Dolf Schimmel wrote:
Quote:
unzip it, ./configure ,
make, make install, but when I then try to compile
/examples/simple1.cpp it goes wrong,
I'm confused. You successfully said "make install", but then tried to
build simple1.cpp? The default build process builds that program already.

Quote:
I get all kind of errors that mysql.h wasn't to be found.
That's the MySQL C API header. Read your compiler's documentation about
the -I flag.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.