Doubts regarding mysql++.h header file

Hi,

We are using mysql-server to store the monitored data from nagios in fedora. We have also installed mysql++-2.3.2 for mysql++.h files. But when we try to include the mysql++.h file, we always faced the following error:

error: mysql++.h: No such file or directory

Then we have used locate command to find out the location of mysql++.h file.

locate mysql++.h
/home/mysql/mysql++-2.3.2/lib/mysql++.h
/home/mysql/mysql++-2.3.2/lib/mysql++.h.in
/root/.Trash/mysql++.h
/usr/include/c++/4.1.1/mysql++/mysql++.h
/usr/local/include/c++/4.1.1/mysql++/mysql++.h
/usr/local/include/mysql++/mysql++.h
/usr/local/include/mysql++/mysql++.h.gch


Our C++ program is in the location
/usr/local/include/mysql++/new.cpp

Kindly help us earlier as possible to fix this issue.
Well, in Windows, you can specify the absolute path like this:
 
#include "C:/myHeaderFiles/hello.h" 


I don't know if Linux works the same way, but it's worth a try:
 
#include "/home/mysql/mysql++-2.3.2/lib/mysql++.h" 
Topic archived. No new replies allowed.