I have the following problem:
I use a 32 bit version of Qt on a 64 bit Ubuntu. In my Project I want to include the library FCam in order to program for the camera of a Nokia N900 mobile phone. When I include the path to the library in my project file, it seems that Qt does not find it or just does not use it because I get the following error message:
undefined reference to "FCam::Image::Image(FCam::Image const&)"
My Libs-line looks like this:
LIBS += -lpthread -ljpeg -Llib -L/home/username/FCam
I have no idea why this does not work, because I have another example project on which it works. I have also tried some variations of the line, but in vain.
Thanks for your answers, Tsveti
With -L/home/username/FCam you are telling the linker to look in that directory when looking for the libraries it should link against. You also need to tell it what library to link agains (that is done with -l). I do not know your lib, but it seems you should add a --lfcam or something like it.