BFLC-demo icon indicating copy to clipboard operation
BFLC-demo copied to clipboard

cryptopp-error

Open 1ofvc opened this issue 2 years ago • 4 comments

image [ 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

image

1ofvc avatar Aug 17 '22 11:08 1ofvc

The problem is solved, but another occured. image

1ofvc avatar Aug 17 '22 13:08 1ofvc

Hi, friend! I met the same problem, could you tell me how did you resolve it? O_O

lumiawjf avatar Sep 14 '22 09:09 lumiawjf

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.

1ofvc avatar Sep 17 '22 15:09 1ofvc

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

Lliuchang avatar Jan 30 '23 09:01 Lliuchang