Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to compile on Raspberry Pi #462

Open
jedomed opened this issue Nov 10, 2024 · 0 comments
Open

Struggling to compile on Raspberry Pi #462

jedomed opened this issue Nov 10, 2024 · 0 comments

Comments

@jedomed
Copy link

jedomed commented Nov 10, 2024

Edit: ...I forgot I installed a 32bit OS, so based on this issue I'm guessing I won't be able to do it

Hi, I'd like to get Odin 2 running on a Raspberry Pi 3B+, but the prebuilt binaries won't work because they're arm64 and the Raspberry is armhf. On my PC I can compile it with no problems, but on the RPi I get these errors, and after a lot of Googling I still have no idea what to do with them:

> cmake -B build -D CMAKE_BUILD_TYPE=Release

-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- 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
CMake Error at libs/clap-juce-extensions/clap-libs/clap-helpers/CMakeLists.txt:8 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "POSITION_INDEPENDENT_CODE" is not allowed.


CMake Error at libs/clap-juce-extensions/clap-libs/clap-helpers/CMakeLists.txt:8 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "CXX_STANDARD" is not allowed.


CMake Error at libs/clap-juce-extensions/CMakeLists.txt:35 (add_library):
  add_library INTERFACE library requires no source arguments.


CMake Error at libs/clap-juce-extensions/CMakeLists.txt:39 (target_include_directories):
  Cannot specify include directories for target "clap_juce_sources" which is
  not built by this project.


-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Checking for module 'alsa'
--   Found alsa, version 1.2.4
-- Checking for module 'freetype2'
--   Found freetype2, version 23.4.17
-- Checking for module 'libcurl'
--   Found libcurl, version 7.74.0
-- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0'
--   Found webkit2gtk-4.0, version 2.42.2
--   Found gtk+-x11-3.0, version 3.24.24
-- Configuring juceaide
-- Building juceaide
        
CMake Error at libs/JUCELV2/extras/Build/juceaide/CMakeLists.txt:92 (message):
  Failed to build juceaide

  Scanning dependencies of target juceaide

  [ 12%] Building CXX object
  extras/Build/juceaide/CMakeFiles/juceaide.dir/Main.cpp.o

  [ 25%] Building CXX object
  extras/Build/juceaide/CMakeFiles/juceaide.dir/__/juce_build_tools/juce_build_tools.cpp.o


  [ 37%] Building CXX object
  extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_gui_basics/juce_gui_basics.cpp.o


  c++: fatal error: Killed signal terminated program cc1plus

  compilation terminated.

  gmake[2]: ***
  [extras/Build/juceaide/CMakeFiles/juceaide.dir/build.make:108:
  extras/Build/juceaide/CMakeFiles/juceaide.dir/__/__/__/modules/juce_gui_basics/juce_gui_basics.cpp.o]
  Error 1

  gmake[1]: *** [CMakeFiles/Makefile2:152:
  extras/Build/juceaide/CMakeFiles/juceaide.dir/all] Error 2

  gmake: *** [Makefile:149: all] Error 2



-- Configuring incomplete, errors occurred!
See also "/home/patch/odin/odin2/build/CMakeFiles/CMakeOutput.log".

(Technically it's on Patchbox OS which is a modified version of Raspberry Pi OS, but I don't think it makes a difference in this case)
Any help would be appreciated, I'm not good with cmake so I'm kinda lost here :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant