I've followed the instructions to set up Ghidra and ExLaunch and as far as I know things seem right, I haven't gotten any errors. But when I try to build, it always fails:
/opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/15.1.0/bits/stl_construct.h:99:21: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
99 | void* __loc = __location;
| ^~~~~~~~~~
| |
| const void*
make[3]: *** [CMakeFiles/RomBase_Diamond.dir/build.make:134: CMakeFiles/RomBase_Diamond.dir/src/common/exlaunch/hook/nx64/inline_impl.cpp.obj] Error 1
make[2]: *** [CMakeFiles/Makefile2:674: CMakeFiles/RomBase_Diamond.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:489: CMakeFiles/RomBase_release_ryujinx.dir/rule] Error 2
make: *** [Makefile:267: RomBase_release_ryujinx] Error 2
I'm not on Windows, I'm on Linux, so it's possible I might have adapted the instructions wrong? Maybe the cmake configure command should be different? I don't know, I've never done anything like this before