Skip to content

Linux Building Issue #200

@LesnaNav

Description

@LesnaNav

Validation

  • I have checked the Issues page to see if my problem has already been reported
  • I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware

DLC

  • Additional Episode "Sonic Boss Attack"
  • Additional Episode "Shadow Boss Attack"
  • Additional Episode "Silver Boss Attack"
  • Additional Episode "Team Attack Amigo"
  • Additional Mission Pack "Sonic/Very Hard"
  • Additional Mission Pack "Shadow/Very Hard"
  • Additional Mission Pack "Silver/Very Hard"

Describe the Bug

When I try to compile the project in Cmake in Linux, there is apparently something wrong with something to do with the aspect ratio.

Steps to Reproduce

Full Log:

$ cmake --build ./out/build/linux-release --target MarathonRecomp
[176/817] Building C object tools/XenonRe.../disasm/CMakeFiles/disasm.dir/ppc-dis.c.o
/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/disasm/ppc-dis.c:5768:61: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
stream = stream + sprintf(stream, "0x%llx", memaddr + value);
~~~~ ^~~~~~~~~~~~~~~
%lx
/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/disasm/ppc-dis.c:5770:61: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
stream = stream + sprintf(stream, "0x%llx", (bfd_vma)value & 0xffffffff);
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
%lx
2 warnings generated.
[490/817] Generating /home/anselvd/Marath.../MarathonRecompLib/ppc/ppc_recomp.145.cpp
Recompiling functions... 0.002686006%
Recompiling functions... 5.5036263%
Recompiling functions... 11.004566%
Recompiling functions... 16.505507%
Recompiling functions... 22.006447%
Recompiling functions... 27.507385%
Recompiling functions... 33.008327%
Recompiling functions... 38.509266%
Recompiling functions... 44.01021%
Recompiling functions... 49.511147%
Recompiling functions... 55.01209%
Recompiling functions... 60.513027%
Recompiling functions... 66.01397%
Recompiling functions... 71.51491%
Recompiling functions... 77.01585%
Recompiling functions... 82.51679%
Recompiling functions... 88.01772%
Recompiling functions... 93.51867%
Recompiling functions... 99.01961%
Recompiling functions... 100%
[491/817] Generating /home/anselvd/MarathonRecomp/MarathonRecompLib/private/shader
Extraction complete!
Extraction complete!
[492/817] Generating /home/anselvd/Marath...MarathonRecompLib/shader/shader_cache.cpp
Recompiling shaders with 8 threads
Recompiling shaders... 1.0940919%
Recompiling shaders... 2.1881838%
Recompiling shaders... 3.2822757%
Recompiling shaders... 4.3763676%
Recompiling shaders... 5.4704595%
Recompiling shaders... 6.5645514%
Recompiling shaders... 7.6586432%
Recompiling shaders... 8.752735%
Recompiling shaders... 9.8468275%
Recompiling shaders... 10.940919%
Recompiling shaders... 12.03501%
Recompiling shaders... 13.129103%
Recompiling shaders... 14.223194%
Recompiling shaders... 15.3172865%
Recompiling shaders... 16.411379%
Recompiling shaders... 17.50547%
Recompiling shaders... 18.599562%
Recompiling shaders... 19.693655%
Recompiling shaders... 20.787746%
Recompiling shaders... 21.881838%
Recompiling shaders... 22.975931%
Recompiling shaders... 24.07002%
Recompiling shaders... 25.164112%
Recompiling shaders... 26.258205%
Recompiling shaders... 27.352297%
Recompiling shaders... 28.446388%
Recompiling shaders... 29.540482%
Recompiling shaders... 30.634573%
Recompiling shaders... 31.728664%
Recompiling shaders... 32.822758%
Recompiling shaders... 33.916847%
Recompiling shaders... 35.01094%
Recompiling shaders... 36.105034%
Recompiling shaders... 37.199123%
Recompiling shaders... 38.293217%
Recompiling shaders... 39.38731%
Recompiling shaders... 40.4814%
Recompiling shaders... 41.575493%
Recompiling shaders... 42.669586%
Recompiling shaders... 43.763676%
Recompiling shaders... 44.85777%
Recompiling shaders... 45.951862%
Recompiling shaders... 47.04595%
Recompiling shaders... 48.14004%
Recompiling shaders... 49.23414%
Recompiling shaders... 50.328224%
Recompiling shaders... 51.42232%
Recompiling shaders... 52.51641%
Recompiling shaders... 53.610504%
Recompiling shaders... 54.704594%
Recompiling shaders... 55.798687%
Recompiling shaders... 56.892776%
Recompiling shaders... 57.986874%
Recompiling shaders... 59.080963%
Recompiling shaders... 60.175056%
Recompiling shaders... 61.269146%
Recompiling shaders... 62.363235%
Recompiling shaders... 63.45733%
Recompiling shaders... 64.55142%
Recompiling shaders... 65.645515%
Recompiling shaders... 66.73961%
Recompiling shaders... 67.833694%
Recompiling shaders... 68.92779%
Recompiling shaders... 70.02188%
Recompiling shaders... 71.115974%
Recompiling shaders... 72.21007%
Recompiling shaders... 73.30416%
Recompiling shaders... 74.39825%
Recompiling shaders... 75.49234%
Recompiling shaders... 76.58643%
Recompiling shaders... 77.68052%
Recompiling shaders... 78.77462%
Recompiling shaders... 79.86871%
Recompiling shaders... 80.9628%
Recompiling shaders... 82.05689%
Recompiling shaders... 83.150986%
Recompiling shaders... 84.24507%
Recompiling shaders... 85.33917%
Recompiling shaders... 86.43326%
Recompiling shaders... 87.52735%
Recompiling shaders... 88.621445%
Recompiling shaders... 89.71554%
Recompiling shaders... 90.80962%
Recompiling shaders... 91.903725%
Recompiling shaders... 92.99781%
Recompiling shaders... 94.0919%
Recompiling shaders... 95.186%
Recompiling shaders... 96.28008%
Recompiling shaders... 97.374176%
Recompiling shaders... 98.46828%
Recompiling shaders... 99.56236%
Recompiling shaders... 99.89059%
Creating shader cache...
Compressing DXIL cache...
Compressing SPIRV cache...
[742/817] Building CXX object MarathonRec...akeFiles/MarathonRecomp.dir/exports.cpp.o
FAILED: MarathonRecomp/CMakeFiles/MarathonRecomp.dir/exports.cpp.o
/usr/bin/clang++ -DCURL_STATICLIB -DMSDFGEN_COPYRIGHT_YEAR=2025 -DMSDFGEN_DISABLE_PNG -DMSDFGEN_DISABLE_SVG -DMSDFGEN_EXTENSIONS -DMSDFGEN_EXT_PUBLIC="" -DMSDFGEN_PUBLIC="" -DMSDFGEN_USE_CPP11 -DMSDFGEN_VERSION=1.12.0 -DMSDFGEN_VERSION_MAJOR=1 -DMSDFGEN_VERSION_MINOR=12 -DMSDFGEN_VERSION_REVISION=0 -DMSDF_ATLAS_COPYRIGHT_YEAR=2025 -DMSDF_ATLAS_NO_ARTERY_FONT -DMSDF_ATLAS_PUBLIC="" -DMSDF_ATLAS_VERSION=1.3.0 -DMSDF_ATLAS_VERSION_MAJOR=1 -DMSDF_ATLAS_VERSION_MINOR=3 -DMSDF_ATLAS_VERSION_REVISION=0 -DSDL_MAIN_HANDLED -DSDL_VULKAN_ENABLED -D_CRT_SECURE_NO_WARNINGS -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/home/anselvd/MarathonRecomp/MarathonRecomp -I/home/anselvd/MarathonRecomp/MarathonRecomp/api -I/home/anselvd/MarathonRecomp/thirdparty/concurrentqueue -I/home/anselvd/MarathonRecomp/thirdparty/ddspp -I/home/anselvd/MarathonRecomp/thirdparty/imgui -I/home/anselvd/MarathonRecomp/thirdparty/implot -I/home/anselvd/MarathonRecomp/thirdparty/json/include -I/home/anselvd/MarathonRecomp/thirdparty/magic_enum/include -I/home/anselvd/MarathonRecomp/thirdparty/stb -I/home/anselvd/MarathonRecomp/thirdparty/unordered_dense/include -I/home/anselvd/MarathonRecomp/tools/bc_diff -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/smol-v/source -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/lib/pkgconfig/../../include -I/usr/include/libmount -I/usr/include/blkid -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/fmt/include -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/zstd/build/cmake/../../lib -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen/msdfgen -I/home/anselvd/MarathonRecomp/thirdparty/nativefiledialog-extended/src/include -I/home/anselvd/MarathonRecomp/thirdparty/o1heap/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/XenonUtils/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/simde -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/disasm/. -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include/SDL2 -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include-config-release/SDL2 -I/home/anselvd/MarathonRecomp/thirdparty/SDL_mixer/include -I/home/anselvd/MarathonRecomp/MarathonRecompLib -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/xxHash/cmake_unofficial/.. -I/home/anselvd/MarathonRecomp/thirdparty/plume -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/volk -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/Vulkan-Headers/include -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/VulkanMemoryAllocator/include -I/home/anselvd/MarathonRecomp/thirdparty/ffmpeg-core/include -isystem /home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/tomlplusplus/include -isystem /home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/include -fPIC -O3 -DNDEBUG -std=gnu++20 -flto=thin -fPIE -march=sandybridge -fno-strict-aliasing -Wno-switch -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-void-pointer-to-int-cast -Wno-int-to-void-pointer-cast -Wno-invalid-offsetof -Wno-null-arithmetic -Wno-null-conversion -Wno-tautological-undefined-compare -ffp-model=strict -Winvalid-pch -Xclang -include-pch -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx -MD -MT MarathonRecomp/CMakeFiles/MarathonRecomp.dir/exports.cpp.o -MF MarathonRecomp/CMakeFiles/MarathonRecomp.dir/exports.cpp.o.d -o MarathonRecomp/CMakeFiles/MarathonRecomp.dir/exports.cpp.o -c /home/anselvd/MarathonRecomp/MarathonRecomp/exports.cpp
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/exports.cpp:5:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/app.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.h:4:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCObject.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCPtrAbs.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.inl:3:
/home/anselvd/MarathonRecomp/MarathonRecomp/cpu/guest_stack_var.h:41:25: error: no matching constructor for initialization of 'AspectRatio'
new (get()) T(std::forward(args)...);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:42:42: note: in instantiation of function template specialization 'guest_stack_var<AspectRatio, true>::guest_stack_var<float &, float &>' requested here
guest_stack_var aspectRatio(width, height);
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct AspectRatio
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 error generated.
[744/817] Building CXX object MarathonRecomp/CMakeFiles/MarathonRecomp.dir/app.cpp.o
FAILED: MarathonRecomp/CMakeFiles/MarathonRecomp.dir/app.cpp.o
/usr/bin/clang++ -DCURL_STATICLIB -DMSDFGEN_COPYRIGHT_YEAR=2025 -DMSDFGEN_DISABLE_PNG -DMSDFGEN_DISABLE_SVG -DMSDFGEN_EXTENSIONS -DMSDFGEN_EXT_PUBLIC="" -DMSDFGEN_PUBLIC="" -DMSDFGEN_USE_CPP11 -DMSDFGEN_VERSION=1.12.0 -DMSDFGEN_VERSION_MAJOR=1 -DMSDFGEN_VERSION_MINOR=12 -DMSDFGEN_VERSION_REVISION=0 -DMSDF_ATLAS_COPYRIGHT_YEAR=2025 -DMSDF_ATLAS_NO_ARTERY_FONT -DMSDF_ATLAS_PUBLIC="" -DMSDF_ATLAS_VERSION=1.3.0 -DMSDF_ATLAS_VERSION_MAJOR=1 -DMSDF_ATLAS_VERSION_MINOR=3 -DMSDF_ATLAS_VERSION_REVISION=0 -DSDL_MAIN_HANDLED -DSDL_VULKAN_ENABLED -D_CRT_SECURE_NO_WARNINGS -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/home/anselvd/MarathonRecomp/MarathonRecomp -I/home/anselvd/MarathonRecomp/MarathonRecomp/api -I/home/anselvd/MarathonRecomp/thirdparty/concurrentqueue -I/home/anselvd/MarathonRecomp/thirdparty/ddspp -I/home/anselvd/MarathonRecomp/thirdparty/imgui -I/home/anselvd/MarathonRecomp/thirdparty/implot -I/home/anselvd/MarathonRecomp/thirdparty/json/include -I/home/anselvd/MarathonRecomp/thirdparty/magic_enum/include -I/home/anselvd/MarathonRecomp/thirdparty/stb -I/home/anselvd/MarathonRecomp/thirdparty/unordered_dense/include -I/home/anselvd/MarathonRecomp/tools/bc_diff -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/smol-v/source -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/lib/pkgconfig/../../include -I/usr/include/libmount -I/usr/include/blkid -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/fmt/include -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/zstd/build/cmake/../../lib -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen/msdfgen -I/home/anselvd/MarathonRecomp/thirdparty/nativefiledialog-extended/src/include -I/home/anselvd/MarathonRecomp/thirdparty/o1heap/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/XenonUtils/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/simde -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/disasm/. -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include/SDL2 -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include-config-release/SDL2 -I/home/anselvd/MarathonRecomp/thirdparty/SDL_mixer/include -I/home/anselvd/MarathonRecomp/MarathonRecompLib -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/xxHash/cmake_unofficial/.. -I/home/anselvd/MarathonRecomp/thirdparty/plume -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/volk -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/Vulkan-Headers/include -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/VulkanMemoryAllocator/include -I/home/anselvd/MarathonRecomp/thirdparty/ffmpeg-core/include -isystem /home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/tomlplusplus/include -isystem /home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/include -fPIC -O3 -DNDEBUG -std=gnu++20 -flto=thin -fPIE -march=sandybridge -fno-strict-aliasing -Wno-switch -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-void-pointer-to-int-cast -Wno-int-to-void-pointer-cast -Wno-invalid-offsetof -Wno-null-arithmetic -Wno-null-conversion -Wno-tautological-undefined-compare -ffp-model=strict -Winvalid-pch -Xclang -include-pch -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx -MD -MT MarathonRecomp/CMakeFiles/MarathonRecomp.dir/app.cpp.o -MF MarathonRecomp/CMakeFiles/MarathonRecomp.dir/app.cpp.o.d -o MarathonRecomp/CMakeFiles/MarathonRecomp.dir/app.cpp.o -c /home/anselvd/MarathonRecomp/MarathonRecomp/app.cpp
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/app.cpp:1:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/app.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.h:4:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCObject.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCPtrAbs.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.inl:3:
/home/anselvd/MarathonRecomp/MarathonRecomp/cpu/guest_stack_var.h:41:25: error: no matching constructor for initialization of 'AspectRatio'
new (get()) T(std::forward(args)...);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:42:42: note: in instantiation of function template specialization 'guest_stack_var<AspectRatio, true>::guest_stack_var<float &, float &>' requested here
guest_stack_var aspectRatio(width, height);
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct AspectRatio
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 error generated.
[746/817] Building CXX object MarathonRecomp/CMakeFiles/MarathonRecomp.dir/main.cpp.o
FAILED: MarathonRecomp/CMakeFiles/MarathonRecomp.dir/main.cpp.o
/usr/bin/clang++ -DCURL_STATICLIB -DMSDFGEN_COPYRIGHT_YEAR=2025 -DMSDFGEN_DISABLE_PNG -DMSDFGEN_DISABLE_SVG -DMSDFGEN_EXTENSIONS -DMSDFGEN_EXT_PUBLIC="" -DMSDFGEN_PUBLIC="" -DMSDFGEN_USE_CPP11 -DMSDFGEN_VERSION=1.12.0 -DMSDFGEN_VERSION_MAJOR=1 -DMSDFGEN_VERSION_MINOR=12 -DMSDFGEN_VERSION_REVISION=0 -DMSDF_ATLAS_COPYRIGHT_YEAR=2025 -DMSDF_ATLAS_NO_ARTERY_FONT -DMSDF_ATLAS_PUBLIC="" -DMSDF_ATLAS_VERSION=1.3.0 -DMSDF_ATLAS_VERSION_MAJOR=1 -DMSDF_ATLAS_VERSION_MINOR=3 -DMSDF_ATLAS_VERSION_REVISION=0 -DSDL_MAIN_HANDLED -DSDL_VULKAN_ENABLED -D_CRT_SECURE_NO_WARNINGS -D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR -I/home/anselvd/MarathonRecomp/MarathonRecomp -I/home/anselvd/MarathonRecomp/MarathonRecomp/api -I/home/anselvd/MarathonRecomp/thirdparty/concurrentqueue -I/home/anselvd/MarathonRecomp/thirdparty/ddspp -I/home/anselvd/MarathonRecomp/thirdparty/imgui -I/home/anselvd/MarathonRecomp/thirdparty/implot -I/home/anselvd/MarathonRecomp/thirdparty/json/include -I/home/anselvd/MarathonRecomp/thirdparty/magic_enum/include -I/home/anselvd/MarathonRecomp/thirdparty/stb -I/home/anselvd/MarathonRecomp/thirdparty/unordered_dense/include -I/home/anselvd/MarathonRecomp/tools/bc_diff -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/smol-v/source -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/lib/pkgconfig/../../include -I/usr/include/libmount -I/usr/include/blkid -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/fmt/include -I/home/anselvd/MarathonRecomp/tools/XenosRecomp/thirdparty/zstd/build/cmake/../../lib -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen -I/home/anselvd/MarathonRecomp/thirdparty/msdf-atlas-gen/msdfgen -I/home/anselvd/MarathonRecomp/thirdparty/nativefiledialog-extended/src/include -I/home/anselvd/MarathonRecomp/thirdparty/o1heap/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/XenonUtils/. -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/simde -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/disasm/. -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include/SDL2 -I/home/anselvd/MarathonRecomp/out/build/linux-release/thirdparty/SDL/include-config-release/SDL2 -I/home/anselvd/MarathonRecomp/thirdparty/SDL_mixer/include -I/home/anselvd/MarathonRecomp/MarathonRecompLib -I/home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/xxHash/cmake_unofficial/.. -I/home/anselvd/MarathonRecomp/thirdparty/plume -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/volk -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/Vulkan-Headers/include -I/home/anselvd/MarathonRecomp/thirdparty/plume/contrib/VulkanMemoryAllocator/include -I/home/anselvd/MarathonRecomp/thirdparty/ffmpeg-core/include -isystem /home/anselvd/MarathonRecomp/tools/XenonRecomp/thirdparty/tomlplusplus/include -isystem /home/anselvd/MarathonRecomp/out/build/linux-release/vcpkg_installed/x64-linux/include -fPIC -O3 -DNDEBUG -std=gnu++20 -flto=thin -fPIE -march=sandybridge -fno-strict-aliasing -Wno-switch -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-void-pointer-to-int-cast -Wno-int-to-void-pointer-cast -Wno-invalid-offsetof -Wno-null-arithmetic -Wno-null-conversion -Wno-tautological-undefined-compare -ffp-model=strict -Winvalid-pch -Xclang -include-pch -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/anselvd/MarathonRecomp/out/build/linux-release/MarathonRecomp/CMakeFiles/MarathonRecomp.dir/cmake_pch.hxx -MD -MT MarathonRecomp/CMakeFiles/MarathonRecomp.dir/main.cpp.o -MF MarathonRecomp/CMakeFiles/MarathonRecomp.dir/main.cpp.o.d -o MarathonRecomp/CMakeFiles/MarathonRecomp.dir/main.cpp.o -c /home/anselvd/MarathonRecomp/MarathonRecomp/main.cpp
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/main.cpp:28:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/ui/installer_wizard.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.h:4:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCObject.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Chao/CSD/Core/csdRCPtrAbs.h:3:
In file included from /home/anselvd/MarathonRecomp/MarathonRecomp/api/Marathon.inl:3:
/home/anselvd/MarathonRecomp/MarathonRecomp/cpu/guest_stack_var.h:41:25: error: no matching constructor for initialization of 'AspectRatio'
new (get()) T(std::forward(args)...);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:42:42: note: in instantiation of function template specialization 'guest_stack_var<AspectRatio, true>::guest_stack_var<float &, float &>' requested here
guest_stack_var aspectRatio(width, height);
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
struct AspectRatio
^
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/home/anselvd/MarathonRecomp/MarathonRecomp/api/Sonicteam/SoX/Scenery/Camera.h:36:20: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 error generated.
[751/817] Building CXX object MarathonRec...r/__/thirdparty/implot/implot_items.cpp.o
ninja: build stopped: subcommand failed.

Expected Behavior

Marathon Recomp should build as normal.

Specifications

  • CPU: Intel Core i5 1135-G7
  • GPU: Integrated Iris XE Graphics
  • OS: lubuntu 24
  • Version: Latest beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions