Build sdk failed for libraries not found

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Build sdk failed for libraries not found

跳至解决方案
1,316 次查看
Mingheng
Contributor I

Hi

    I couldn'd found the old topic with the same name. So I setup this again.

    I tried to build sdk for imx8mm-evk, using command `bitbake -c populate_sdk imx-image-full`. But there is an error about qtpdf as follow picture

    

Mingheng_0-1724314873236.png

    Hope could get someone help again here.

Best regards

Mingheng

 

0 项奖励
回复
1 解答
1,266 次查看
Harvey021
NXP TechSupport
NXP TechSupport
0 项奖励
回复
4 回复数
1,267 次查看
Harvey021
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1,290 次查看
clay_miller
NXP Employee
NXP Employee

Looks like you might be either missing some QT packages or having some versioning conflicts.

If the goal is to just generate the SDK. Try building a smaller option without all the QT and machine learning. It'll build much quicker as well. 

bitbake core-image-minimal -c populate_sdk

 

Also is this a fresh yocto setup? Are you using a shared state cache?

 

Regards,

Clay

0 项奖励
回复
1,273 次查看
Mingheng
Contributor I
Thanks for your reply

It's a fresh yocto setup.
OTOH, there is a folder named "sstate-cache", did you mean that? The configuration is in default.

BTW, this issue was been repeated by another NXP employee and solved by adding some command in `local.conf` and `bblayers.conf` few days ago. But I forgot to markdown the modification and now I can not find that topic any more.
0 项奖励
回复
1,206 次查看
clay_miller
NXP Employee
NXP Employee

The sstate-cache is just a spot for yocto to consolidate packages that it checks before looking at mirrors. One way to speed up yocto builds with different configurations is to use a locally defined sstated-cache, but sometimes when doing so across several builds you can end up with multiple package versions that cause a similar problem. Fortunately, that is not the issue here. 

Did Harley's link solve your issue?

Regards,

Clay

0 项奖励
回复