I am new to C++ and CodeBlocks, I was wondering where I can get the MySQL header files, the ones I have keep throwing errors when I try to compile, and where do I get the libraries from. This is for Windose.
Quote from: iceman42 on April 19, 2006, 07:22:19 PM
I am new to C++ and CodeBlocks, I was wondering where I can get the MySQL header files, the ones I have keep throwing errors when I try to compile, and where do I get the libraries from. This is for Windose.
http://dev.mysql.com/downloads/mysql/5.0.html
?
So I would just grab the headers and library download even if its for Redhat?
Yea. You need the MySQL libs too though.
Method 1: (depreciated)
Buy Visual Studio, download the MySQL sources, and compile the mysqllib project. MSVC will automatically compile several other dependant projects. Extract the libs and the include folder.
Method 2:
Pay attention during your Win32-binary install. There's a checkbox that is off by default which will install the necessary libs and includes.
By the way, plan on using a Microsoft compiler such as MSVT for MySQL development.
use Plugins->Devpak updater/installer