Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

How to build knowhere on macOS and arm64? #979

@xiaofan-luan

Description

@xiaofan-luan

conan install failed at error:

clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
Linking CXX executable cmTC_a0230
/usr/local/Cellar/cmake/3.26.4/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a0230.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++ -m64 -stdlib=libstdc++  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -m64  CMakeFiles/cmTC_a0230.dir/testCXXCompiler.cxx.o -o cmTC_a0230
clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTC_a0230] Error 1
make: *** [cmTC_a0230/fast] Error

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions