Fails to build on Linux Mint
This program fails to build on Linux Mint 21.2, with an unhelpful error message. I have installed rustc and cargo from apt.
The error is shown below:
CMake Error at build/_deps/corrosion-src/cmake/CorrosionGenerator.cmake:24 (execute_process):
execute_process failed command indexes:
1: "Child return code: 101"
Call Stack (most recent call first):
build/_deps/corrosion-src/cmake/CorrosionGenerator.cmake:217 (_cargo_metadata)
build/_deps/corrosion-src/cmake/Corrosion.cmake:918 (_generator_add_cargo_targets)
CMakeLists.txt:157 (corrosion_import_crate)
I would appreciate a fix or workaround for this issue.
I managed to get further down the line by using rust via rustup, but it still errors out for me - I'll file a separate issue for that.
Do you have any ideas what it is?
Oh, hello! I've long since moved from Linux Mint to Ubuntu and when I try building again, I still get this error. It's worth noting that right above the error there's this:
error: manifest path /home/user/repos/RiiStudio/source/llvm/Cargo.toml does not exist.
I looked back through the commit history and it seems that llvm was dropped as a dependency a few weeks back. I'll ping @riidefi since they'll know what to fix.
With the above changes, I was able to build with GCC 14.1.0 on Ubuntu 22.04.4 LTS. Since I didn't configure stacktrace support when I built the compiler, I configured with cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-DRSL_STACKTRACE_UNSUPPORTED=1". A pre-built version may not need that flag.