Need some help to move ahead

Hi All,

As I was about to integrate library that I had built with the existing opencv library, I come across some hurdles.

I have changed the opencv source to look for library I have built dependending on the environment variable. Now when I compile, I have errors shown below. As the makefile is CMAKE base, how can I to point to my library?

cd /media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc && /media/disk/OE/build/tmp-angstrom_2008_1/cross/armv7a/bin/arm-angstrom-linux-gnueabi-g++ -Dopencv_imgproc_EXPORTS -DHAVE_CONFIG_H -DCVAPI_EXPORTS -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/include -isystem/media/disk/OE/build/tmp-angstrom_2008_1/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fpermissive -Wall -pthread -ffunction-sections -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -DNDEBUG -fomit-frame-pointer -DNDEBUG -fPIC -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/. -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/include -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/include/opencv -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/include -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/src -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc -I/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/…/core/include -include /media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/precomp.hpp -Winvalid-pch -o CMakeFiles/opencv_imgproc.dir/src/deriv.o -c /media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/src/deriv.cpp
/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/src/deriv.cpp: In function ‘void cvSobel(const void*, void*, int, int, int)’:
/media/disk/OE/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/opencv-2.1.0+svnr3217-r1/opencv/modules/imgproc/src/deriv.cpp:353: error: ‘OPENCVTEST_main’ was not declared in this scope

No idea on your cmake question, but I do have some questions on how to reproduce your work:

I followed http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples and create a recipe:

Hi Koen,

Thanks for the correction. I have added those instructions. Also, did some modification to the library. Actually the library is the ARM side library and should not be dependent on IMGLib and DSPLib. I am still looking into what can be the issue as ARM side library does not depend on IMGLib and DSPLib.

Ok, I think the issue is with OpenCV. My library build also depends on OpenCV. So, I think the DEPENDS need to add that too.