how to cross compile the project for arm?
fengmao31 opened this issue · 8 comments
I want to use cyberRT in a arm platform. how to cross compile for arm. only need to set some gcc and g++ option in the CMAKELIST?
Compilation is the same on aarch64 platform and x86-64 platform, and there are adaptations in the code third_party script and cmake
Hi, @fengmao31 you can try to install uuid
sudo apt install uuid-dev
I know it. but now I use thirdpart gcc and g++ to compile the cyberRT in the x86 pc for aarch64 platform.
I don't have a cross compile for arm to test this. you can check the installation path of the uuid
I finish the cross compile. the package installed by apt should be compiled for arm at first. thank you.
I finish the cross compile. the package installed by apt should be compiled for arm at first. thank you.
i got this error
find_package(PkgConfig REQUIRED)
@duanchengwen sudo apt install -y pkg-config