Build failed with bitbake core-image-x11 for opencv!!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build failed with bitbake core-image-x11 for opencv!!

1,146 Views
dtvs
Contributor II

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

Labels (3)
0 Kudos
2 Replies

807 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 Kudos

807 Views
dtvs
Contributor II

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.

0 Kudos