Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: iceman42 on April 19, 2006, 07:22:19 pm

Title: MySQL header and libraries location
Post by: 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.
Title: Re: MySQL header and libraries location
Post by: sethjackson on April 19, 2006, 07:55:59 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

?
Title: Re: MySQL header and libraries location
Post by: iceman42 on April 19, 2006, 08:13:57 pm
So I would just grab the headers and library download even if its for Redhat?
Title: Re: MySQL header and libraries location
Post by: sethjackson on April 19, 2006, 08:22:11 pm
Yea. You need the MySQL libs too though.
Title: Re: MySQL header and libraries location
Post by: severach on September 02, 2006, 06:37:57 am
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.
Title: Re: MySQL header and libraries location
Post by: bluekid on September 02, 2006, 03:56:20 pm
use Plugins->Devpak updater/installer