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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,518 Views
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 Kudos
Reply
2 Replies

1,498 Views
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 Kudos
Reply

1,496 Views
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 Kudos
Reply