-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building error #792
Comments
@NewSkyLineTwitter You should configure CMake with |
I did what you said, but still get an error: FAILED: CMakeFiles/poac_core_resolver_resolve.dir/src/core/resolver/resolve.ixx.o CMakeFiles/poac_core_resolver_resolve.dir/poac.core.resolver.resolve.pcm
/opt/homebrew/Cellar/llvm/16.0.6/bin/clang++ -DFMT_SHARED -I/Users/fabian/Developer/poac/build/_deps/mitama-cpp-result-src/include -isystem /opt/homebrew/include -stdlib=libc++ -L/opt/homebrew/Cellar/llvm/16.0.6/lib/c++ -pthread -g -O1 -fsanitize=address -fno-omit-frame-pointer -std=c++20 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -MD -MT CMakeFiles/poac_core_resolver_resolve.dir/src/core/resolver/resolve.ixx.o -MF CMakeFiles/poac_core_resolver_resolve.dir/src/core/resolver/resolve.ixx.o.d @CMakeFiles/poac_core_resolver_resolve.dir/src/core/resolver/resolve.ixx.o.modmap -o CMakeFiles/poac_core_resolver_resolve.dir/src/core/resolver/resolve.ixx.o -c /Users/fabian/Developer/poac/src/core/resolver/resolve.ixx
clang-16: warning: argument unused during compilation: '-L/opt/homebrew/Cellar/llvm/16.0.6/lib/c++' [-Wunused-command-line-argument]
In module 'poac.util.net' imported from /Users/fabian/Developer/poac/src/core/resolver/resolve.ixx:29:
/opt/homebrew/include/fmt/format.h:4076:1: error: 'fmt::formatter<std::string>' has different definitions in different modules; first difference is definition in module 'poac.util.format.<global>' found 1 base class
FMT_FORMAT_AS(std::basic_string<Char>, basic_string_view<Char>);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/include/fmt/format.h:4067:10: note: expanded from macro 'FMT_FORMAT_AS'
struct formatter<Type, Char> : formatter<Base, Char> {}
^ ~~~~~~~~~~~~~~~~~~~~~
/opt/homebrew/include/fmt/core.h:1068:8: note: but in 'semver.interval.<global>' found 0 base classes
struct formatter {
^
1 error generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build it from source with LLVM@16 on MacOS, but I get this error over and over again.
A fix would be appreciated 😄
The text was updated successfully, but these errors were encountered: