User forums > Using Code::Blocks

Regarding using berkeley Data Base?

(1/2) > >>

Ricky:
I am new bie in using Code Blocks. I have to save my project in the Berkely Database. I have installed "db-4.6.21.msi" windows version of the berkely database. Please help....how to set the path of database in my Code Blocks.

Thanks alot
Ricky

MortenMacFly:

--- Quote from: Ricky on November 21, 2007, 03:27:54 pm ---how to set the path of database in my Code Blocks.

--- End quote ---
Exactly how you would do it in any other IDE:
1.) Adjust the compiler include path's to include the header of your library.
2.) Adjust the linker include path's to enable the linker to find your library.
3.) Add the librarties to link against additionally in the right order.
4.) Develop your database code.
With regards, Morten.

BTW: Why did you make such a stupid poll??? :?

Ricky:
Thanks alot for reply and i know its stupid post  :D

I tried already this way but stil it tells "db_cxx.h" no such file or directory when i try to include #include"db_cxx.h" in my code.

I tried even give complete path as #include"c:/Programfiles/oracle/Berkely/include/db_cxx.h" but this gives error of conflicting basic data types with the compiler data type?? So i thought the data base is not properly included with Code Blocks or Berkely can not work with MinGW compiler?

Thanks




Biplab:

--- Quote from: Ricky on November 21, 2007, 03:56:31 pm ---Thanks alot for reply and i know its stupid post  :D

--- End quote ---

Morten complained about the stupid poll, not about your post. I don't know the reason, but recently we've noticed that new posters start a post with a stupid poll. Either with two options containing ?? or two options containing same texts. :shock:

If you want to experiment with polls and other such features feel free to use your personal forums, not a public forum like this.

Ricky:
I need help for my problem and we are going some where.......... help...

For your Biplab remarks ..TOday only i started using this post and while posting there was a message to fill options before sending...so i dint have any idea what are these options so just tried in some way to put my post

Please reply for my problem...as stuck up for that...???

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version