I try to load a tiff image with ImageAccessCV.
But if I try to compile this simple src code here,
I have this error:
/main.cpp|15|undefined reference to `ImageAccessCV::LoadFromFile(CByteImage*, char const*)'|
using namespace std;
int main(int argc,char **args)
printf("Fehler: konnte Bild nicht öffnen \n");
//convert color image to gray
CByteImage gray_image(image.width, image.height, CByteImage::eGrayScale);
I've seen this code on en example… but it's won't work.
What do I wrong here?
I try to compiling under ubuntu 9.10 with g++
Thanks for your help! :)
you must set USE_OPENCV = 1 and USE_OPENCV_HIGHGUI = 1 in IVT/src/Makefile.base. Then run make in IVT/src. Then compile your application.
I forgott to say that I have set this variables. After changing this
variables I have run this commands in /Ivt/src :
but it's not working. And make seems running without error..
I've solved it.
I simple forgett to add the two new libs generated by make to the project proberties
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.