OpenJKDF2 icon indicating copy to clipboard operation
OpenJKDF2 copied to clipboard

Cant builid on Raspberry pi 5/bookworm

Open Exarkuniv opened this issue 10 months ago • 0 comments

i have been trying to see if i can get this to work on my Retropie which is on Bookworm, lite(no desktop) build and so far it fails to find cog i have done my best to find out how to install it. i needed pipx from there i could run pipx install cogapp and then export PATH=$PATH:~/.local/bin still fails to see cog

this is the part of my script to build

`` function build_openjkdf2() { export CC=clang export CXX=clang++

if isPlatform "64bit"; then
    local build_dir="build_linux64"

    chmod +x build_linux64.sh
    ./build_linux64.sh
else
    local build_dir="build"
    mkdir -p $build_dir
    cd $build_dir

    cmake .. --toolchain ../cmake_modules/linux_32_toolchain.cmake
    make -j10
fi

and my error Using the multi-header code from /home/pi/RetroPie-Setup/tmp/build/openjkdf2/3rdparty/json/include/ -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.38 -- Checking for module 'libpng' -- Found libpng, version 1.6.39 -- Configuring done -- Generating done -- Build files have been written to: /home/pi/RetroPie-Setup/tmp/build/openjkdf2/build_linux64 [ 1%] Generating /home/pi/RetroPie-Setup/tmp/build/openjkdf2/src/globals.h /bin/sh: 1: cog: not found make[2]: *** [CMakeFiles/openjkdf2.dir/build.make:95: /home/pi/RetroPie-Setup/tmp/build/openjkdf2/src/globals.h] Error 127 make[1]: *** [CMakeFiles/Makefile2:99: CMakeFiles/openjkdf2.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 ``

i tryed and just use the commands on build.md

`` git clone https://github.com/shinyquagsire23/OpenJKDF2.git cd OpenJKDF2 git submodule update --init

export CC=clang export CXX=clang++

chmod +x build_linux64.sh ./build_linux64.sh LD_LIBRARY_PATH=build_linux64 ./build_linux64/openjkdf2 ``

and i get

-- Installing: /home/pi/OpenJKDF2/build_linux64/SDL_mixer/lib/cmake/SDL2_mixer/SDL2_mixer-static-targets.cmake -- Installing: /home/pi/OpenJKDF2/build_linux64/SDL_mixer/lib/cmake/SDL2_mixer/SDL2_mixer-static-targets-release.cmake -- Installing: /home/pi/OpenJKDF2/build_linux64/SDL_mixer/share/licenses/SDL2_mixer/LICENSE.txt [ 19%] Completed 'SDL_mixer' [ 19%] Built target SDL_mixer [ 19%] Generating /home/pi/OpenJKDF2/src/globals.h /usr/bin/python3: No module named cogapp make[3]: *** [CMakeFiles/sith_engine.dir/build.make:98: /home/pi/OpenJKDF2/src/globals.h] Error 1 make[2]: *** [CMakeFiles/Makefile2:330: CMakeFiles/sith_engine.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:371: CMakeFiles/openjkdf2.dir/rule] Error 2 make: *** [Makefile:241: openjkdf2] Error 2 -bash: ./build_linux64/openjkdf2: No such file or directory

im thinking i dont have something pointing to the right place. or not installed but i dont know what to point to or install

Exarkuniv avatar Feb 18 '25 17:02 Exarkuniv