-
Notifications
You must be signed in to change notification settings - Fork 417
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
A simple compilation issue on Apple m1 #524
Comments
which version of the software are you trying to compile? the homebrew-core formula uses two patches that have been merged to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Performing C++ SOURCE FILE Test _compiler_supports_sse failed with the following output:
Change Dir: /tmp/fcl/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_8321f/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_8321f.dir/build.make CMakeFiles/cmTC_8321f.dir/build
Building CXX object CMakeFiles/cmTC_8321f.dir/src.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++ -D_compiler_supports_sse -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -mfpmath=sse -msse -msse2 -msse3 -mssse3 -o CMakeFiles/cmTC_8321f.dir/src.cxx.o -c /tmp/fcl/build/CMakeFiles/CMakeTmp/src.cxx
clang: warning: argument unused during compilation: '-msse' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse2' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-msse3' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-mssse3' [-Wunused-command-line-argument]
error: unknown FP unit 'sse'
make[1]: *** [CMakeFiles/cmTC_8321f.dir/src.cxx.o] Error 1
make: *** [cmTC_8321f/fast] Error 2
Source file was:
int main() { return 0; }
The text was updated successfully, but these errors were encountered: