MySQL Forums
Forum List  »  Connector/C++

Need help connecting my C++ program to my server.
Posted by: Zach Melin
Date: August 18, 2009 05:10PM

Ok im new with mysql but i made a server today.... i was following this tutorial to connect my application to the server ( But when i tried to include the header <mysql.h> i got an error : mysql.h: No such file or directory. So i thought i would look here for my problem and i saw the connector for C++ that i thought i might need so i downloaded the source (im using linux ubuntu) i tried to cmake it but i then got this error:

CMake Error at (MESSAGE):
Cannot find MySQL. Include dir: MYSQL_INCLUDE_DIR-NOTFOUND library dir:
Call Stack (most recent call first):
CMakeLists.txt:55 (INCLUDE)

-- Configuring incomplete, errors occurred!

I dont know why im getting both these problems as ive only been using mySQL for a couple hours. I would really appreciate any help! thanks!

Edited 1 time(s). Last edit at 08/18/2009 05:51PM by Zach Melin.

Options: ReplyQuote

Written By
Need help connecting my C++ program to my server.
August 18, 2009 05:10PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.