User forums > General (but related to Code::Blocks)
MySQL header and libraries location
iceman42:
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:
--- 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.
--- End quote ---
http://dev.mysql.com/downloads/mysql/5.0.html
?
iceman42:
So I would just grab the headers and library download even if its for Redhat?
sethjackson:
Yea. You need the MySQL libs too though.
severach:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version