Yocto Project Discussions
 help / color / mirror / Atom feed
* Missing  opencv files in toolchain #yocto
@ 2024-09-20  5:37 Poornesh G ( India - Bangalore )
  2024-09-20  5:40 ` [yocto] " Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Poornesh G ( India - Bangalore ) @ 2024-09-20  5:37 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 547 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] Missing opencv files in toolchain #yocto
  2024-09-20  5:37 Missing opencv files in toolchain #yocto Poornesh G ( India - Bangalore )
@ 2024-09-20  5:40 ` Khem Raj
  2024-09-20  7:30   ` Poornesh G ( India - Bangalore )
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2024-09-20  5:40 UTC (permalink / raw)
  To: yocto, poornesh.g

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

On Thu, Sep 19, 2024 at 10:37 PM Poornesh G ( India - Bangalore ) via
lists.yoctoproject.org <poornesh.g=mindteck.com@lists.yoctoproject.org>
wrote:

> 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


>
> 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: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 2732 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] Missing opencv files in toolchain #yocto
  2024-09-20  5:40 ` [yocto] " Khem Raj
@ 2024-09-20  7:30   ` Poornesh G ( India - Bangalore )
  2024-09-20 11:34     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Poornesh G ( India - Bangalore ) @ 2024-09-20  7:30 UTC (permalink / raw)
  To: Khem Raj, yocto

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

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,

[-- Attachment #2: Type: text/html, Size: 1177 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] Missing opencv files in toolchain #yocto
  2024-09-20  7:30   ` Poornesh G ( India - Bangalore )
@ 2024-09-20 11:34     ` Khem Raj
  2024-09-23  4:55       ` Poornesh G ( India - Bangalore )
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2024-09-20 11:34 UTC (permalink / raw)
  To: poornesh.g; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

On Fri, Sep 20, 2024 at 3:30 AM Poornesh G ( India - Bangalore ) via
Lists.Yoctoproject.Org <poornesh.g=mindteck.com@lists.yoctoproject.org>
wrote:

> 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 !
>

Add opencv to TOOLCHAIN_TARGET_TASK variable might help to get into non
image based sdk


>
> Thanks,
>

[-- Attachment #2: Type: text/html, Size: 1988 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] Missing opencv files in toolchain #yocto
  2024-09-20 11:34     ` Khem Raj
@ 2024-09-23  4:55       ` Poornesh G ( India - Bangalore )
  0 siblings, 0 replies; 5+ messages in thread
From: Poornesh G ( India - Bangalore ) @ 2024-09-23  4:55 UTC (permalink / raw)
  To: Khem Raj, yocto

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

Thanks @ Khem Raj . This worked for me .

Thanks

[-- Attachment #2: Type: text/html, Size: 1466 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-23  4:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20  5:37 Missing opencv files in toolchain #yocto Poornesh G ( India - Bangalore )
2024-09-20  5:40 ` [yocto] " Khem Raj
2024-09-20  7:30   ` Poornesh G ( India - Bangalore )
2024-09-20 11:34     ` Khem Raj
2024-09-23  4:55       ` Poornesh G ( India - Bangalore )

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox