Author Topic: MySQL header and libraries location  (Read 6812 times)

iceman42

  • Guest
MySQL header and libraries location
« 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.

sethjackson

  • Guest
Re: MySQL header and libraries location
« Reply #1 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

?

iceman42

  • Guest
Re: MySQL header and libraries location
« Reply #2 on: April 19, 2006, 08:13:57 pm »
So I would just grab the headers and library download even if its for Redhat?

sethjackson

  • Guest
Re: MySQL header and libraries location
« Reply #3 on: April 19, 2006, 08:22:11 pm »
Yea. You need the MySQL libs too though.

Offline severach

  • Multiple posting newcomer
  • *
  • Posts: 44
Re: MySQL header and libraries location
« Reply #4 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.

Offline bluekid

  • Multiple posting newcomer
  • *
  • Posts: 57
  • What is blue ? Blue is the invisible becoming visi
Re: MySQL header and libraries location
« Reply #5 on: September 02, 2006, 03:56:20 pm »
use Plugins->Devpak updater/installer

What is blue ? Blue is the invisible becoming visible.