Closed christ31 closed 1 year ago
Does adding those includes as suggested by the error messages fix the build?
@Rosalie241
Does adding those includes as suggested by the error messages fix the build?
Yes, adding line as sugested works (Full Log below). Is it intended? Looks like I need to do this every time I need to recompile on update(?)
should be fixed with 0da4becd46df4ea054af38f93238c92183b6c3a5 and 0dd297f0f880b474b993a587340d0334c33590de, can you please test building with current master?
I think it's a toolchain thing that differs per distro, I'm not sure what caused it though but I'm glad it's fixed now :heart:, thanks for the report and the testing!
Hi, just started out learning how to build things from source. When trying to build, there's certain modules(?) that have failed such as
mupen64plus-rsp-parallel
,mupen64plus-video-angrylion-plus
, and another one which I don't know yet what is it.Is there something wrong with my pc config? seems all the dependencies already met.
PC Used
- OS: Fedora 38 (Gnome) - Dependencies: as instructed + cargoDependencies Version
- ninja-build = 1.11.1 - gcc = gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0) - git = git version 2.40.0 - nasm = NASM version 2.16.01 compiled on Jan 19 2023Installing Dependencies Log
``` [christ@fc31 Script]$ sudo dnf install hidapi-devel libsamplerate-devel minizip-compat-devel SDL2-devel freetype-devel mesa-libGL-devel mesa-libGLU-devel zlib-ng-devel binutils-devel speexdsp-devel qt6-qtbase-devel qt6-qtsvg-devel gcc-c++ nasm git ninja-build [sudo] password for christ: Last metadata expiration check: 2:48:59 ago on Mon 24 Apr 2023 10:58:09 AM WIB. Package hidapi-devel-0.13.1-1.fc38.x86_64 is already installed. Package libsamplerate-devel-0.2.2-4.fc38.x86_64 is already installed. Package minizip-compat-devel-1.2.13-3.fc38.x86_64 is already installed. Package SDL2-devel-2.26.3-1.fc38.x86_64 is already installed. Package freetype-devel-2.13.0-2.fc38.x86_64 is already installed. Package mesa-libGL-devel-23.0.2-2.fc38.x86_64 is already installed. Package mesa-libGLU-devel-9.0.1-8.fc38.x86_64 is already installed. Package zlib-ng-devel-2.0.6-3.fc38.x86_64 is already installed. Package binutils-devel-2.39-9.fc38.x86_64 is already installed. Package speexdsp-devel-1.2.1-3.fc38.x86_64 is already installed. Package qt6-qtbase-devel-6.4.3-2.fc38.x86_64 is already installed. Package qt6-qtsvg-devel-6.4.3-1.fc38.x86_64 is already installed. Package gcc-c++-13.0.1-0.12.fc38.x86_64 is already installed. Package nasm-2.16.01-3.fc38.x86_64 is already installed. Package git-2.40.0-1.fc38.x86_64 is already installed. Package ninja-build-1.11.1-2.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! ```Log File for > Performing build step for 'mupen64plus-rsp-parallel'
``` [64/90] Performing build step for 'mupen64plus-rsp-parallel' FAILED: Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build Source/3rdParty/mupen64plus-rsp-parallel/mupen64plus-rsp-parallel.so /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/mupen64plus-rsp-parallel.so cd /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build [1/3] Linking C static library liblightning.a [2/3] Building CXX object CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o FAILED: CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o /usr/bin/c++ -DM64P_PLUGIN_API -DPARALLEL_INTEGRATION -DPARALLEL_RSP_LIGHTNING -Dmupen64plus_rsp_parallel_EXPORTS -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/../mupen64plus-core/src/api -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/arch/simd/rsp -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/api -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/lightning/include -O3 -DNDEBUG -std=gnu++14 -flto=auto -fno-fat-lto-objects -fPIC -Wall -Wextra -Wno-missing-field-initializers -Wno-empty-body -ffast-math -Wno-unused-parameter -MD -MT CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o -MF CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o.d -o CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o -c /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.cpp In file included from /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.cpp:1: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.hpp:8:25: error: ‘uint32_t’ was not declared in this scope 8 | std::string disassemble(uint32_t pc, uint32_t instr); | ^~~~~~~~ /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.hpp:5:1: note: ‘uint32_t’ is defined in header ‘Log File for > Performing build step for 'mupen64plus-video-angrylion-plus'
``` [71/90] Performing build step for 'mupen64plus-video-angrylion-plus' FAILED: Source/3rdParty/mupen64plus-video-angrylion-plus-prefix/src/mupen64plus-video-angrylion-plus-stamp/mupen64plus-video-angrylion-plus-build Source/3rdParty/mupen64plus-video-angrylion-plus/mupen64plus-video-angrylion-plus.so /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus-prefix/src/mupen64plus-video-angrylion-plus-stamp/mupen64plus-video-angrylion-plus-build /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus/mupen64plus-video-angrylion-plus.so cd /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus-prefix/src/mupen64plus-video-angrylion-plus-stamp/mupen64plus-video-angrylion-plus-build [1/16] Automatic MOC and UIC for target alp-output [2/16] Generate Git version -- Found Git: /usr/bin/git (found version "2.40.0") [3/16] Building CXX object CMakeFiles/alp-output.dir/alp-output_autogen/mocs_compilation.cpp.o [4/16] Building C object CMakeFiles/alp-output.dir/src/output/vdac.c.o [5/16] Building CXX object CMakeFiles/alp-core.dir/src/core/parallel.cpp.o FAILED: CMakeFiles/alp-core.dir/src/core/parallel.cpp.o /usr/bin/c++ -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus/src -O3 -DNDEBUG -std=gnu++14 -fPIC -MD -MT CMakeFiles/alp-core.dir/src/core/parallel.cpp.o -MF CMakeFiles/alp-core.dir/src/core/parallel.cpp.o.d -o CMakeFiles/alp-core.dir/src/core/parallel.cpp.o -c /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus/src/core/parallel.cpp /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus/src/core/parallel.cpp: In member function ‘void Parallel::run(std::functionFull Log Files
``` [christ@fc31 Script]$ ./Build.sh Release ++ dirname ./Build.sh + script_dir=. ++ realpath ./../../ + toplvl_dir=/home/christ/C31/github/RMG + build_config=Release + build_dir=/home/christ/C31/github/RMG/Build/Release ++ nproc + threads=8 + '[' Release = --help ']' + '[' Release = -h ']' + mkdir -p /home/christ/C31/github/RMG/Build/Release + cmake -S /home/christ/C31/github/RMG -B /home/christ/C31/github/RMG/Build/Release -DCMAKE_BUILD_TYPE=Release -DPORTABLE_INSTALL=ON -G Ninja CMake Warning at CMakeLists.txt:51 (message): Only AppImage updater is supported on linux, disabling UPDATER! -- Configuring done (0.9s) -- Generating done (0.0s) -- Build files have been written to: /home/christ/C31/github/RMG/Build/Release + cmake --build /home/christ/C31/github/RMG/Build/Release --parallel 8 [16/93] Performing configure step for 'discord-rpc' -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/discord-rpc [19/93] Performing build step for 'discord-rpc' ninja: no work to do. [24/91] Performing build step for 'mupen64plus-core' make: Nothing to be done for 'all'. [45/90] Performing build step for 'mupen64plus-rsp-cxd4' make: Nothing to be done for 'all'. [46/90] Performing build step for 'mupen64plus-input-raphnetraw' make: Nothing to be done for 'all'. [48/90] Performing build step for 'mupen64plus-rsp-hle' make: Nothing to be done for 'all'. [55/90] Performing build step for 'mupen64plus-input-gca' Finished release [optimized] target(s) in 0.15s [58/90] Performing configure step for 'mupen64plus-rsp-parallel' Interprocedural optimizations enabled -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel [59/90] Performing configure step for 'mupen64plus-video-GLideN64' Interprocedural optimizations enabled -- Configuring done (0.9s) -- Generating done (0.0s) -- Build files have been written to: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-GLideN64/projects/cmake [60/90] Performing build step for 'mupen64plus-video-GLideN64' ninja: no work to do. [62/90] Performing configure step for 'mupen64plus-video-angrylion-plus' Interprocedural optimizations enabled -- Configuring done (0.8s) -- Generating done (0.0s) -- Build files have been written to: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-video-angrylion-plus [64/90] Performing build step for 'mupen64plus-rsp-parallel' FAILED: Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build Source/3rdParty/mupen64plus-rsp-parallel/mupen64plus-rsp-parallel.so /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/mupen64plus-rsp-parallel.so cd /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel && /usr/bin/cmake --build . && /usr/bin/cmake -E touch /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel-prefix/src/mupen64plus-rsp-parallel-stamp/mupen64plus-rsp-parallel-build [1/3] Linking C static library liblightning.a [2/3] Building CXX object CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o FAILED: CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o /usr/bin/c++ -DM64P_PLUGIN_API -DPARALLEL_INTEGRATION -DPARALLEL_RSP_LIGHTNING -Dmupen64plus_rsp_parallel_EXPORTS -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/../mupen64plus-core/src/api -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/arch/simd/rsp -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/api -I/home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/lightning/include -O3 -DNDEBUG -std=gnu++14 -flto=auto -fno-fat-lto-objects -fPIC -Wall -Wextra -Wno-missing-field-initializers -Wno-empty-body -ffast-math -Wno-unused-parameter -MD -MT CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o -MF CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o.d -o CMakeFiles/mupen64plus-rsp-parallel.dir/rsp_disasm.cpp.o -c /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.cpp In file included from /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.cpp:1: /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.hpp:8:25: error: ‘uint32_t’ was not declared in this scope 8 | std::string disassemble(uint32_t pc, uint32_t instr); | ^~~~~~~~ /home/christ/C31/github/RMG/Build/Release/Source/3rdParty/mupen64plus-rsp-parallel/rsp_disasm.hpp:5:1: note: ‘uint32_t’ is defined in header ‘