|Including external libraries [message #209871]
||Sat, 16 February 2008 13:49
Originally posted by: carlon.luca.email.it|
Hi! Sorry for this trivial problem, but I can't seem to be able to solve.
I followed the manual and I added an external library. I added in the
project properties the path the the libraries and to the related include
files. In the project directory I got the header opencv/cv.h in the
include directory, as I expected. After I build anyway, I get this in the
g++ -O2 -g -Wall -fmessage-length=0 -c -o Prova.o Prova.cpp
Prova.cpp:11:23: error: opencv/cv.h: No such file or directory
make: *** [Prova.o] Error 1
I can't see any -l parameter. What did I do wrong? Am I missing something?
In my source code I wrote:
With an old version of CDT I had no problem in doing this, but I did it in
a different way. Am I lacking something to add this library?
Thanks! And sorry for the trivial question but even reading old posts I
couldn't find what is my mistake.
Powered by FUDForum
. Page generated in 0.02847 seconds