eos
eos copied to clipboard
Manually Build--Already gcc 6.4, but compile failure prompts need to upgrade gcc to 6.0
2、但是
gcc version 6.4.0 20180424 (Ubuntu 6.4.0-17ubuntu1~16.04)
sec@ll-B85M-DS3H-A:~/rgh/eos_719/eos/build$ cmake -DBINARYEN_BIN=~/binaryen/bin -DWASM_ROOT=~/wasm-compiler/llvm -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib -DBUILD_MONGO_DB_PLUGIN=true ..
CMake Error at CMakeLists.txt:33 (message):
GCC version must be at least 6.0!
-- Configuring incomplete, errors occurred! See also "/home/sec/rgh/eos_719/eos/build/CMakeFiles/CMakeOutput.log".
I cannot reproduce this
$ gcc-6 -v
Using built-in specs.
(snip)
gcc version 6.5.0 (GCC)
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-6 -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_PREFIX_PATH=/usr/lib/llvm-4.0/lib/cmake/ ../src
-- The C compiler identification is GNU 6.5.0
-- The CXX compiler identification is GNU 6.5.0
-- Check for working C compiler: /usr/bin/gcc-6
-- Check for working C compiler: /usr/bin/gcc-6 -- 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: /usr/bin/g++-6
-- Check for working CXX compiler: /usr/bin/g++-6 -- works
(etc)
Worked no problem. Is this still an issue for you?
No response from user; cannot reproduce; closing