I have taken Jethro branch for building the image for imx6quad wandboard-c version.
Bitbake core-image-minimal build was successfull.
I included the opencv related libraries in local.conf.
Referred the following link:
www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-imx6-bsp-yocto
After giving the bitbake core-image-x11 the build failed with the following error.
Please do find the attached log file:.
Please let me know the steps followed from above link is correct or not?
Error list:--
ibopencv_video.so.2.4.11 ../../lib/libopencv_imgproc.so.2.4.11 ../../lib/libopencv_core.so.2.4.11
CMakeFiles/opencv_perf_gpu.dir/perf/perf_core.cpp.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [bin/opencv_perf_gpu] Error 1
make[2]: Leaving directory `/home/harsh/fsl-community-bsp/wand-quad/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/opencv/2.4.11+gitAUTOINC+2c9547e314-r0/build'
make[1]: *** [modules/gpu/CMakeFiles/opencv_perf_gpu.dir/all] Error 2
Hi harsh,
Once you build and you try to rebuild the OpenCV you might remove the broken object file from your build directory, then build with CCACHE_RECACHE set.
Regards
Hi ,
Thank you for the reply.
I could not understand how to and where to put the CCACHE_RECACHE option to build.
Yes, as you suggested bitbake core-image-x11 is rebuilding the opencv, I guess.
So I decided, let me clean the the opencv recipe related files.
So I executed the bitbake -b obencv.bb -clean to clean up the task related to recipe opencv.
After that I given the bitbake core-image-x11 , then the build was successfully.