metaforce
metaforce copied to clipboard
Error compiling in the last version of Manjaro Linux
metaforce/extern/athena/extern/fmt/include/fmt/ostream.h:123:8: error: partial specialization of ‘struct fmt::v7::detail::fallback_formatter<T, Char, typename std::enable_if<fmt::v7::detail::is_streamable<T, Char>::value, void>::type>’ after instantiation of ‘struct fmt::v7::detail::fallback_formatter<std::basic_string_view
Which compiler are you using and what version? We primarily develop on Arch and have no such error.
gcc versión 11.1.0 GNU Make 4.3
Alright, I'll look into it when I get the chance, for now can you try clang? That has the most testing as that's what we use to compile Metaforce.
cmake -B out -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ cmake --build out --target metaforce hecl visigen
it works with this options.
I just tried GCC on Arch, but unfortunately I can't replicate the issue, I'm also using gcc 11.1.0 :/
From now on I will use clang and ninja to avoid problems. I would like to take this opportunity to show you my admiration for this project that I discovered by chance.
I just tried GCC on Arch, but unfortunately I can't replicate the issue, I'm also using gcc 11.1.0 :/
I also have gcc 11.1.0 on Manjaro but ran into this issues so what instructions do we use instead with clang or ninja?
cmake -GNinja -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
Thanks that worked for me, now that I have done that is it built and where does it go or what do I do next?