Open orderorder opened 2 years ago
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?
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, char, void>’ [-fpermissive]
123 | struct fallback_formatter<T, Char, enable_if_t<is_streamable<T, Char>::value>>
| ^
~~~~~~~~~~~~~~make[2]: [Runtime/CMakeFiles/RuntimeCommonB.dir/build.make:2295: Runtime/CMakeFiles/RuntimeCommonB.dir/World/CScriptStreamedMusic.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:4138: Runtime/CMakeFiles/RuntimeCommonB.dir/all] Error 2 make: *** [Makefile:156: all] Error 2