Running F' on the Raspberry Pi 5 #2288
-
| 
         Hey! I'm just trying to follow the Hello World tutorial on the Raspberry Pi 5, but I get an error when I try to generate the build cache. This is the output I get: (fprime-venv) kade@raspberrypi:~/MyProject $ fprime-util generate      
[INFO] Generating build directory at: /home/kade/MyProject/build-fprime-automatic-native
[INFO] Using toolchain file None for platform default
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Searching for F prime modules in: /home/kade/MyProject/fprime;/home/kade/MyProject
Fatal error: Failed to create the main Isolate. (code 9)
CMake Error at fprime/cmake/required.cmake:25 (message):
   fpp tools not found. Install with:
    'pip install -r "/home/kade/MyProject/fprime/requirements.txt"'
Call Stack (most recent call first):
  fprime/cmake/FPrime.cmake:26 (include)
  CMakeLists.txt:13 (include)
-- Autocoder constants file: /home/kade/MyProject/fprime/config/AcConstants.ini
-- Configuration header directory: /home/kade/MyProject/fprime/config
-- Configuring incomplete, errors occurred!
See also "/home/kade/MyProject/build-fprime-automatic-native/CMakeFiles/CMakeOutput.log".
[ERROR] CMake erred with return code 1. Partial build cache remains. Run purge to clean-up. | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
| 
         This error occurs when you have not installed the python tooling. 
  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I'm experiencing a related issue while using my newer Macbook which has Apple silicon. After circling back on the same error of "-- [fpp-tools] fpp-depend installed incorrectly" when trying to run the fprime-util generate command, I realized these newer chips run an ARM architecture whereas the F' requires Intel x86. I executed the command you gave above and saw this error: I ended up having to install Rosetta 2 from my terminal to run the x86 code on the ARM architecture. Hope that helps someone who might be experiencing a similar issue.  | 
  
Beta Was this translation helpful? Give feedback.
I can make the issue, as I have lots of context to add to it. Cross-compiling should be unaffected (unless you are running on an
aarch64cross-compiling host with a kernel page size greater than4096.