LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2008, 03:42 AM   #1
Gayathri.P
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
Doubts Regarding mysql++.h header file


Hi,

We are using mysql-server to store the monitored data from nagios. 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.
 
Old 03-06-2008, 03:25 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And what is your doubt? I can only see a very vague request.



Cheers,
Tink
 
Old 03-07-2008, 02:40 AM   #3
Gayathri.P
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
And what is your doubt? I can only see a very vague request.


Cheers,
Tink


Hi,

I want to connect my c++ program with mysql. Kindly help me to solve this issue.

Is there any other way to run this program?

Regards
Gayathri
 
Old 03-07-2008, 01:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
I still don't see a doubt or a question. You're trying to compile
something, the compiler spits a warning because it can't find an
include. To help with that we'd need to know where your own source
is, and how you invoke the compiler.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install the mysql header file ..... yogeshk@redim.net Red Hat 2 01-04-2007 05:53 AM
can u tell how to install the mysql header file in redhat 9.0 yogeshk@redim.net Linux - General 2 01-04-2007 04:33 AM
how to install the mysql header file ..... yogeshk@redim.net Linux - Software 1 01-04-2007 04:29 AM
how to install the mysql header file ..... yogeshk@redim.net Linux - Hardware 1 01-04-2007 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration