Author Topic: using mysql++.h  (Read 3980 times)

Lachap

  • Guest
using mysql++.h
« on: October 14, 2005, 08:41:22 pm »
I have downloaded the files from   http://www.mysql.com/downloads/api-mysql++.html
and I don't know how to implement all of the headers into my system so that I can be able to use them with Code::Blocks.
I've ran the Install.bat .. it made a folder with a subfolder called "Include" wich contains the headers.
I then added that directory to the list of directories in code::blocks, but it still wont compile.

Help would be greatly appreciated. I'm using Windows xp.
« Last Edit: October 14, 2005, 09:02:22 pm by Lachap »

Lachap

  • Guest
Re: using mysql++.h
« Reply #1 on: October 14, 2005, 09:46:12 pm »
What I want to do, is to be able to use the content of mysql++.h... I had to download LibMySql.dll seperatly since it didnt even come with the package, so i put it in system32. from there, how do I include that library into Code::blocks and more importantly, how do I specify the location of all the headers related to mysql++ ?

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: using mysql++.h
« Reply #2 on: October 14, 2005, 09:53:27 pm »
Project->Build Options->Directories->Compiler (for headers) or Linker (for libs)->Add
To add libraries Project->Build Options->Linker->Add
Life would be so much easier if we could just look at the source code.