-
Notifications
You must be signed in to change notification settings - Fork 30
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
Build failed on MacOS #5
Comments
Hi, you need to remove the -static-libgcc flag this line of CMakeLists.txt : |
It still doesn't work... -- Boost version: 1.68.0 |
It seems has even more errors... Maybe something else not working? |
after I execute "cmake -DCMAKE_BUILD_TYPE=Release` . && make -j4", these pops up.
-- The C compiler identification is AppleClang 10.0.0.10001145
-- The CXX compiler identification is AppleClang 10.0.0.10001145
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- system
-- date_time
-- thread
-- chrono
-- atomic
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.a (found version "1.0.2q")
-- Using OpenSSL 1.0.2q
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - not found
-- Looking for CL_VERSION_2_1
-- Looking for CL_VERSION_2_1 - not found
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - found
-- Found OpenCL: /System/Library/Frameworks/OpenCL.framework (found version "1.2")
-- Using OpenCL 1.2
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mac/desktop/opencl-miner
Scanning dependencies of target beam-opencl-miner
[ 25%] Building CXX object CMakeFiles/beam-opencl-miner.dir/beamStratum.cpp.o
[ 25%] Building CXX object CMakeFiles/beam-opencl-miner.dir/clHost.cpp.o
[ 37%] Building C object CMakeFiles/beam-opencl-miner.dir/crypto/sha256.c.o
[ 50%] Building CXX object CMakeFiles/beam-opencl-miner.dir/main.cpp.o
[ 62%] Building CXX object CMakeFiles/beam-opencl-miner.dir/beam/core/difficulty.cpp.o
[ 75%] Building CXX object CMakeFiles/beam-opencl-miner.dir/beam/core/uintBig.cpp.o
[ 87%] Building CXX object CMakeFiles/beam-opencl-miner.dir/beam/utility/common.cpp.o
[100%] Linking CXX executable beam-opencl-miner
clang: error: unsupported option '-static-libgcc'
make[2]: *** [beam-opencl-miner] Error 1
make[1]: *** [CMakeFiles/beam-opencl-miner.dir/all] Error 2
make: *** [all] Error 2
cmake
seems working perfectly, but something went wrong inmake
.The text was updated successfully, but these errors were encountered: