riidefi / RiiStudio

Editor for various 3D model formats
https://riidefi.github.io/RiiStudio/
92 stars 16 forks source link

Linux Mint build of Oishii fails with `fatal error: expected: No such file or directory` #68

Open applecuckoo opened 8 months ago

applecuckoo commented 8 months ago

Yeah, self explanatory. Seems like the offending crate is rls. Doing some research, it might have something to do with the fact that RLS was superseded by rust-analyzer about a year ago, but I'm no Rust expert.

Building this on rustc 1.77.0-nightly (635124704 2024-01-27) via rustup on Linux Mint 21.3 64-bit.

riidefi commented 8 months ago

Fatal error: expected: No such file or directory

This would indicate an incompatible C++ compiler version, given the <expected> header was introduced in C++23.

applecuckoo commented 8 months ago

@riidefi Okay, so I ended up looking up compiler support for C++23, and I only ended up having to upgrade libc++ I added the LLVM apt repos to install libc++ v17. Problem is, it still doesn't work.

So what packages would be needed to build this right?