views:

141

answers:

1

can anyone help me on how to integrate new library in dev cpp?

i want to have a haru library to my compiler!

+1  A: 

You have to add the library in the project's parameters tab. Suppose your library is called 'haru', then just add '-lharu' to the Linker parameters.

Maurits Rijk
it does't work! :( ..an error message was: can't find -lharu
mark
Do you have your haru library installed in a standard location? Otherwise you will have to set your library path.
Maurits Rijk
not yet! i just extracted the haru library 2.1.0 and add the include directorties of haru to my compiler (dev cpp) for me to use the headers.. may i know how can i set the library path?..
mark