Kdevelop and Opencv library's path linking problem, how specify path of libraries for compilation ?
Posted on 2010-09-12
I have a the version 1.00 of Opencv I do a ./configure then a make to generate
the .la an the .so files.
I don't do the make install for making my programs independent of my system, the goal was
to put the .so and the .la files in a directory of my programs and not in the /usr/local/lib directory.
SO how can I specify into Kdevelop that when I do a compilation of my programs that the lining of library
was in a specify path and not in the /usr/local/lib ?
I must put the .la and .so files into my project directories for example /home/my_name/my_opencv_program/my_libraries?
I tried to change values of LDFLAGS like : "-L /home/my_name/my_opencv_program/my_libraries"
and after compilation I receive error message like there is no specify format file in this path.
How can I specify in Kdevelop a path for linking outside the system and to a specify directories?