BFLC-demo
BFLC-demo copied to clipboard
cryptopp-error
[ 41%] Performing build step for 'cryptopp'
CMake Error at /home/ybs/FISCO-BCOS/deps/src/cryptopp-stamp/cryptopp-build-RelWithDebInfo.cmake:49 (message):
Command failed: 2
'/usr/bin/cmake' '--build' '/home/ybs/FISCO-BCOS/deps/src/cryptopp-build' '--config' 'Release'
See also
/home/ybs/FISCO-BCOS/deps/src/cryptopp-stamp/cryptopp-build-*.log
make[2]: *** [CMakeFiles/cryptopp.dir/build.make:86: ../deps/src/cryptopp-stamp/cryptopp-build] Error 1 make[1]: *** [CMakeFiles/Makefile2:762: CMakeFiles/cryptopp.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
in cryptopp-build-err.log
The problem is solved, but another occured.
Hi, friend! I met the same problem, could you tell me how did you resolve it? O_O
Hi, friend! I met the same problem, could you tell me how did you resolve it? O_O
Wow, actually this problem was solved by accident when i downloaded and configured this program one more time. The most significant differency was the version of g++, gcc, cmake. Try to install an older version.
I also have the same problem. I can solve this problem by reducing the versions of gcc and g++to 9.0
apt-get install -y gcc-9 g++-9
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10 --slave /usr/bin/g++ g++ /usr/bin/g++-9