Hi,
i'm programing in CodeBlocks (http://www.codeblocks.org/). I would like to add Dlib (http://dlib.net/) library to my project.
How can I do this?
I went to my project "Build options..."->"Search directories"->Compiler and added path to "dlib" folder.
I did the same for "Linker" and "Resource compiler"
(more info abaut adding libaries http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general))
I copied code from this page http://dlib.net/image_ex.cpp.html and I got errors.
After that I copied dlib folder inside project and now my proyect can find dlib library. :)
But I still have some errors.
C:\Projekti\SlikaCGIbin\main.cpp|68|undefined reference to dlib::base_window::set_title(std::string const&)'| C:\Projekti\SlikaCGIbin\main.cpp|75|undefined reference to
dlib::base_window::wait_until_closed() const'|
C:\Projekti\SlikaCGIbin\main.cpp|76|undefined reference to `dlib::base_window::wait_until_closed() const'|
...