Missing opencv files in toolchain #yocto
Greetings !
I have added *opencv* into my yocto build using *"IMAGE_INSTALL:append = " opencv"* and could successfully able to build my target image. But after building toolchain using *"bitbake meta-toolchain-qt5"* I not getting opencv related files in toolchian.
Please help me with the procedure to include *opencv into my toolchain*.
Thanks
Quoted 9 lines · Poornesh G ( India - Bangalore ) via lists.yoctoproject.org
Greetings !
I have added *opencv* into my yocto build using *"IMAGE_INSTALL:append = " opencv"* and could successfully able to build my target image. But after building toolchain using *"bitbake meta-toolchain-qt5" *I not getting opencv related files in toolchian.
Please help me with the procedure to include* opencv into my toolchain*.
You have to build image based sdk so whichever image you are building generate the sdk for it by running
Bitbake -cpopulate_sdk your-image will do it and that will include whatever you have in image install
Quoted 16 lines
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#63869):
https://lists.yoctoproject.org/g/yocto/message/63869
Mute This Topic: https://lists.yoctoproject.org/mt/108553848/1997914
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Thanks Khem Raj for your replay.
I followed procedure suggested by you . I used *"bitbake -c populate_sdk core-image-minimal"* , now I can get the opencv related files in my toolchain.
But with this it seems few QT5 related files are missing so I could not able to cross-compile my Qt5 application which was working with toolchain created using "bitbake meta-toolchain-qt5".
*Error log:*
*---------------------------------------------------------------------------------------------------------------------------------------*
poornesh@IBE2113N:~/Desktop/qtapp/opencv/provu-v0.0.4.04$ qmake Cannot find feature spec_pre.prf Error processing project file: /home/poornesh/Desktop/qtapp/opencv/provu-v0.0.4.04/provu.pro *---------------------------------------------------------------------------------------------------------------------------------------*
May I get your suggestions on this !
Thanks,
Quoted 17 lines · Poornesh G ( India - Bangalore ) via Lists.Yoctoproject.Org
Thanks Khem Raj for your replay.
I followed procedure suggested by you . I used *"bitbake -c
populate_sdkcore-image-minimal"* , now I can get the opencv related files in my toolchain.
But with this it seems few QT5 related files are missing so I could not able to cross-compile my Qt5 application which was working with toolchain created using "bitbake meta-toolchain-qt5".*Error log:*
*---------------------------------------------------------------------------------------------------------------------------------------*
poornesh@IBE2113N:~/Desktop/qtapp/opencv/provu-v0.0.4.04$ qmake Cannot find feature spec_pre.prf Error processing project file: /home/poornesh/Desktop/qtapp/opencv/provu-v0.0.4.04/provu.pro
Quoted 5 lines
*---------------------------------------------------------------------------------------------------------------------------------------*
May I get your suggestions on this !
Add opencv to TOOLCHAIN_TARGET_TASK variable might help to get into non image based sdk
Quoted 3 lines
Thanks,
Thanks @ Khem Raj . This worked for me .
Thanks