using sdk out of yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

using sdk out of yocto

ソリューションへジャンプ
1,366件の閲覧回数
玉栋郭
Contributor III

hi everyone ,

I got sdk out of yocto using below commond :

bitbake fsl-image-qt5 -c populate_sdk

and I installed successfully

but i must specify sysroot for compile app . it looks like :

arm-poky-linux-gnueabi-gcc -o test test.c  -sysroot=/opt/imx6ul_yocto_sdk_20170220/sysroots/cortexa7hf-neon-poky-linux-gnueabi

 i am trying to make it use  no -sysroot . so i specify C_INCLUDE_PATH  but it dosn't work.

can anyone help me?

ラベル(4)
タグ(1)
1 解決策
1,119件の閲覧回数
玉栋郭
Contributor III

hi~    thank you for your reply , i got the answer,

https://community.nxp.com/thread/436885 

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,119件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello,

Thank you for writing.

How did you write the C_INCLUDE_PATH?

For example, this is how I wrote the C_INCLUDE_PATH.

C_INCLUDE_PATH=/opt/fsl-imx-wayland/4.1.15-1.2.0/sysroots/cortexa7hf-vfp-neon-poky-linux-gnueabi/usr/include/ (This is for my computer).

And, this is how I am compiling the app.

$CC -o hello hello.c (Again, this is for my computer).

I hope this information can solve your question.

Best Regards,

Diego.

1,120件の閲覧回数
玉栋郭
Contributor III

hi~    thank you for your reply , i got the answer,

https://community.nxp.com/thread/436885 

0 件の賞賛