Can´t compile on Ubuntu 24
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
If you have DLC installed, please specify which ones you have.
- [ ] Apotos & Shamar Adventure Pack
- [ ] Chun-nan Adventure Pack
- [ ] Empire City & Adabat Adventure Pack
- [ ] Holoska Adventure Pack
- [ ] Mazuri Adventure Pack
- [ ] Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.
Provide a list of your enabled mods in Hedge Mod Manager here. You will not receive support for issues caused by mods.
If you have codes enabled, please specify which ones you have.
Provide a list of your enabled codes in Hedge Mod Manager here.
Describe the Bug
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the bug:
- Go to '...'
- etc.
Expected Behavior
A clear and concise description of what you expected to happen.
Footage
Attach a screenshot or video of the bug. If possible, please also provide footage of the expected behaviour on original Xbox 360 hardware.
Specifications
Fill out the following details:
- CPU: (e.g. Intel Core [...], AMD Ryzen [...], etc.)
- GPU: (e.g. NVIDIA GeForce [...], Radeon HD [...], Intel HD [...], etc.)
- GPU Driver: (e.g NVIDIA driver 545.XX, AMD driver 24.X.X, etc.)
- OS: (e.g. Windows 10, Windows 11, Linux distro)
- Version: (e.g. 1.0.0)
Additional Context
Provide any other context about the problem here.
I have followed instructions as per instructions and get this error message when compiling.
-- Running vcpkg install - done -- The CXX compiler identification is Clang 18.1.3 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ - broken CMake Error at /usr/share/cmake-3.30/Modules/CMakeTestCXXCompiler.cmake:73 (message): The C++ compiler
"/usr/bin/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: '/home/user/UnleashedRecomp/out/build/linux-release/CMakeFiles/CMakeScratch/TryCompile-jAfHQY'
Run Build Command(s): /usr/bin/ninja -v cmTC_bc29a
[1/2] /usr/bin/clang++ -fPIC -std=gnu++20 -MD -MT CMakeFiles/cmTC_bc29a.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_bc29a.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_bc29a.dir/testCXXCompiler.cxx.o -c /home/user/UnleashedRecomp/out/build/linux-release/CMakeFiles/CMakeScratch/TryCompile-jAfHQY/testCXXCompiler.cxx
[2/2] : && /usr/bin/clang++ -fPIC -fuse-ld=lld CMakeFiles/cmTC_bc29a.dir/testCXXCompiler.cxx.o -o cmTC_bc29a && :
FAILED: cmTC_bc29a
: && /usr/bin/clang++ -fPIC -fuse-ld=lld CMakeFiles/cmTC_bc29a.dir/testCXXCompiler.cxx.o -o cmTC_bc29a && :
clang++: error: invalid linker name in argument '-fuse-ld=lld'
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project. Call Stack (most recent call first): thirdparty/msdf-atlas-gen/CMakeLists.txt:76 (project)
-- Configuring incomplete, errors occurred!
I have probably one missing dependency now finding which one.
OS Tuxedo OS (Ubuntu 24.04 based)
Thanks
Check if lld is installed.
ld.lld --version
sigh wish there were any mold linker enjoyers like me...
ld.lld --version
Thanks it was precisely that dependency missing, is now compiling thanks