cannot get program to compile on linux
trying to compile it through a ubuntu distrobox and every time I do the make command it spits out this error
is there something I missed?
medium-shitty-hotdog% make [ 2%] Building C object thirdparty/disasm/CMakeFiles/disasm.dir/ppc-dis.c.o /home/lume/Documents/XBOX/XenonRecomp/thirdparty/disasm/ppc-dis.c: In function ‘decode_insn_powerpc’: /home/lume/Documents/XBOX/XenonRecomp/thirdparty/disasm/ppc-dis.c:5768:57: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 5768 | stream = stream + sprintf(stream, "0x%llx", memaddr + value); | ~~~^ ~~~~~~~~~~~~~~~ | | | | | long unsigned int | long long unsigned int | %lx /home/lume/Documents/XBOX/XenonRecomp/thirdparty/disasm/ppc-dis.c:5770:57: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 5770 | stream = stream + sprintf(stream, "0x%llx", (bfd_vma)value & 0xffffffff); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long unsigned int | long long unsigned int | %lx [ 5%] Building C object thirdparty/disasm/CMakeFiles/disasm.dir/disasm.c.o [ 8%] Linking C static library libdisasm.a [ 8%] Built target disasm [ 11%] Building CXX object thirdparty/fmt/CMakeFiles/fmt.dir/src/format.cc.o [ 14%] Building CXX object thirdparty/fmt/CMakeFiles/fmt.dir/src/os.cc.o [ 17%] Linking CXX static library libfmt.a [ 17%] Built target fmt [ 20%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhash.dir//xxhash.c.o [ 23%] Linking C static library libxxhash.a [ 23%] Built target xxhash [ 26%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhsum.dir//cli/xxhsum.c.o [ 29%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhsum.dir//cli/xsum_os_specific.c.o [ 32%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhsum.dir//cli/xsum_output.c.o [ 35%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhsum.dir//cli/xsum_sanity_check.c.o [ 38%] Building C object thirdparty/xxHash/cmake_unofficial/CMakeFiles/xxhsum.dir//cli/xsum_bench.c.o [ 41%] Linking C executable xxhsum [ 41%] Built target xxhsum [ 44%] Building CXX object XenonUtils/CMakeFiles/XenonUtils.dir/disasm.cpp.o [ 47%] Building CXX object XenonUtils/CMakeFiles/XenonUtils.dir/xex.cpp.o In file included from /home/lume/Documents/XBOX/XenonRecomp/XenonUtils/xex.cpp:2: /home/lume/Documents/XBOX/XenonRecomp/XenonUtils/image.h:5:10: fatal error: expected: No such file or directory 5 | #include
| ^~~~~~~~~~ compilation terminated. make[2]: *** [XenonUtils/CMakeFiles/XenonUtils.dir/build.make:90: XenonUtils/CMakeFiles/XenonUtils.dir/xex.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:432: XenonUtils/CMakeFiles/XenonUtils.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
Did you try explicitly telling CMake to use Clang over GCC? Try "CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake .."