The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 mysql++ compile error
Author: Mauricio Sepulveda 
Date:   23-12-02 20:49

Hi! I have MySQL++ 1.7.8, gcc 3.2.1. when I'm trying to compile my c++ program I got some compile errors from the mysql++ lib sqlplus.hh (connection1.hh and others).

what could be the reason? there's no compatibility between the gcc and mysql++ version?

I really appreciate your answer, thanks!

Reply To This Message
 
 Re: mysql++ compile error
Author: fianna 
Date:   24-12-02 14:46

did you include those headers during compilation.

this is for c++
example, to use header files from /usr/include:
g++ file.cpp -o file -I/usr/include
|or|
Instruct the preprocessor to look for header files first
in the "../first" directory, then the "/second" directory.
g++ -I../first -I/second file.cpp

hope that helped..
weeeee
fianna

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org