Error FIX: Mysql.h Not Found

Leave a comment Standard

Okay, so I downloaded the mysql-dev pack from the software repositories on OpenSuse 10.2 and that fixed the problem I was having with the mysql.h file not found error. I’ve read a few websites that say you have to include -libmysql to the linker but every time I do that I get library not found. So I’m going to try getting the database stuff setup without the library linked in there (its probably included in one of my other linking libraries) and go from there. Worst comes to worse I can try mysql++ or qt which deals with mysql databases in Kdevelop projects. In order to get that working you have to turn it on by going to project options > c++ specific > then click on the qt tab and enable the qt databases. From there you can follow this tutorial I found on setting up mysql and qt databases in Kdevelop to get things working.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s