How to install a package in the sysroot of the cross-compiler tool?

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

How to install a package in the sysroot of the cross-compiler tool?

1,528 次查看
liwentao_1117
Contributor I

Hi,

I am currently using an IMX8mm development board.Currently I need to compile an application using a cross-compiler tool.A compilation error showed that the boost library was missing.

CMake Error at /opt/fsl-imx-xwayland/6.1-mickledore/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR filesystem program_options

How do I download this library, cross compile tool in sysroot.

I look forward to hearing from you!Thanks!

0 项奖励
回复
2 回复数

1,508 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi, 

Please have a reference to <4.5.12 How to build U-Boot and Kernel in standalone environment> of IMX_LINUX_USERS_GUIDE.pdf 

 

Regards

Harvey

0 项奖励
回复

1,506 次查看
liwentao_1117
Contributor I

Maybe you misunderstood me. When I was compiling the application, I found that the sysroot of toochain in the sdk was missing some libraries I needed, such as Node.js, Boost, sqite3, etc.

I was wondering if there was any way I could add these libraries to it. Instead of manually installing one by one.

0 项奖励
回复