Hello Guys,
I have face following error when I send bitbake command in my host PC.
Command :- $bitbake imx-image-multimedia
Error :- ERROR: Task (../Embedded_Software/Yocto/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-support/opencv/opencv_4.2.0.imx.bb:do_compile) failed with exit code '1'
==============================================================================
Here I have describe host setup:
so can you please help me to sort out this error.
Here I have attached error log file and local.conf file.
Waiting for your answer.
Thank You
Solved! Go to Solution.
Hello milav_soni,
It seems that your memory size is too small. So when errors occured, you can try like below: compile opencv seperately
# bitbake opencv -c cleansstate
# bitbake opencv -c complie
If there is no issues, continue compiling multimedia image.
# bitbake imx-image-multimedia
Hope this information is helpful to you.
Have a nice day!
B.R,
weidong
Hello milav_soni,
It seems that your memory size is too small. So when errors occured, you can try like below: compile opencv seperately
# bitbake opencv -c cleansstate
# bitbake opencv -c complie
If there is no issues, continue compiling multimedia image.
# bitbake imx-image-multimedia
Hope this information is helpful to you.
Have a nice day!
B.R,
weidong
Hi, please edit the first message, 3rd line, 'compile' instead of 'complie'
Thanks a lot for your support
Hello @weidong_sun
I have tried to build opencv separately, but i face same error as i mention in first comment.
so what is the problem?
Error :- ERROR: Task (../Embedded_Software/Yocto/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-support/opencv/opencv_4.2.0.imx.bb:do_compile) failed with exit code '1'
Here I have attached build log.
Please Help me.
Hello @weidong_sun
Thank you for your reply.
I have tried to build OpenCV separately as you said.
But I face same error when i send command "bitbake opencv -c complie".
Error :- Task do_complie does not exist for target opencv (../Embedded_Software/Yocto/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-support/opencv/opencv_4.2.0.imx.bb:do_compile). close matches : do_compile.
Error :- command execution failed : 1
Is there any change occur in local.conf file related to opencv?
please help me out.
if you have ever close original terminal, you should run the command:
# cd ../Embedded_Software/Yocto/imx-yocto-bsp/
# source setup-environment imx8mn_build
Then run :
# bitbake opencv -c compile
[note]
opencv recipe is here:
./meta-imx/meta-bsp/recipes-support/opencv/opencv_4.2.0.imx.bb
so the command is no problem.
Try it, again.
Have a nice day!
Weidong
Hello @weidong_sun
Thank You For Your Response.
I am trying to follow your steps to build only opencv for i.mx8m nano evk.
But the process is stuck at 80%. Please see snapshot for the same.
Is there hard disk/RAM error or else pc configuration is low for the same?
please help me out.
Thank You.
Hi @milav_soni ,
See below, please! Just finished.
My notebook is 32GB memory, and assign ubuntu 18.04 on vmware player 16GB memory and 4 cores.
So advise you to increase memory size of your PC or notebook.
Hope the test is helpful to you.
Have a nice day!
B.R,
Weidong
Hello @weidong_sun
May i know your pc configuration? about processor and frequency?
My PC has "Intel Core2 Duo CPU E4500@2.20Ghz x 2" Processor.
So is this okay for these? i need to cross check only.
Thank You
You have a typo here "bitbake opencv -c complie". It should be "bitbake opencv -c compile".
Hello @turker
Thanks For your Reply.