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