Re: pi cross compilation

Alberto Merciai

Hello Anton,

Cool thanks, then I will proceed adding packages you mentioned to my recipe and source the SDK.


On Wed, 7 Dec 2022, 17:55 Anton Wöllert via, <> wrote:
Hi Alberto,

this usually also works fine.  Actually there is a toolchain.cmake file, but it is a bit hidden.  But you don't need to reference it directly, because when you source the yocto sdk, it will automatically set the correct environment variables.
But you will need to populate the sdk image with openssl and boost, because these dependencies are not build automatically by everest-core.

Am Mi., 7. Dez. 2022 um 17:07 Uhr schrieb Alberto Merciai <alb3rt0.m3rciai@...>:
Thanks, now it's ok.

another question, I have a yocto distro for another target board and I would cross compile it for this target.
Which is the best way to obtain toolchain.cmake file?

I mean can bitbake sdk using:
bitbake core-image-minimal -c populate_sdk
but it does not generate the toolchain.cmake file.
any tips?


On Wed, Dec 7, 2022 at 4:55 PM Kai-Uwe Hermann via <> wrote:
Hi Alberto,

this can be fixed by updating your everest-core to the latest main version.
There was an issue where everest-core did not fetch the correct version of the "everest-cmake" repository if it wasn't present in the parent directory of everest-core.

I hope this fixes your issue,

Am Mi., 7. Dez. 2022 um 16:41 Uhr schrieb Alberto Merciai <alb3rt0.m3rciai@...>:

Hello Guys,

I'm trying to follow the online guide for raspberry pi crosso compilation but I'm stck with this error, any tips?

alb3rt0@alb3rt0-ThinkPad-P15-Gen-1:~/checkout/everest-workspace/everest-core$ cmake -DCMAKE_FIND_ROOT_PATH=/home/alb3rt0/checkout/everest-workspace/everest-core/cmake -DCMAKE_TOOLCHAIN_FILE=/home/alb3rt0/PROJECT/EVEREST-SDK/bullseye-toolchain/toolchain.cmake -DCMAKE_INSTALL_PREFIX=./dist  -S . -B build-cross
-- The CXX compiler identification is GNU 10.3.0
-- The C compiler identification is GNU 10.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/alb3rt0/PROJECT/EVEREST-SDK/bullseye-toolchain/crosstool/bin/armv8-rpi4-linux-gnueabihf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/alb3rt0/PROJECT/EVEREST-SDK/bullseye-toolchain/crosstool/bin/armv8-rpi4-linux-gnueabihf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:9 (find_package):
  Could not find a package configuration file provided by "everest-cmake"
  (requested version 0.10) with any of the following names:


  Add the installation prefix of "everest-cmake" to CMAKE_PREFIX_PATH or set
  "everest-cmake_DIR" to a directory containing one of the above files.  If
  "everest-cmake" provides a separate development package or SDK, be sure it
  has been installed.

-- Configuring incomplete, errors occurred!
See also "/home/alb3rt0/checkout/everest-workspace/everest-core/build-cross/CMakeFiles/CMakeOutput.log".


Kai-Uwe Hermann

Pionix GmbH

Am Mühlgarten 8

76669 Bad Schönborn


Telefon: +49 (0)151 587 80 653

E-Mail: kai-uwe.hermann@...

Amtsgericht Mannheim, HRB 739172

Geschäftsführer: Johanna Claussen, Dr. Marco Möller, Benjamin Mosler

Hinweise zum Datenschutz

Join to automatically receive all group messages.