Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Install failed, possibly "Wrong Crypto++ version" #3548

Closed
scrambler803 opened this issue Feb 8, 2017 · 6 comments
Closed

Install failed, possibly "Wrong Crypto++ version" #3548

scrambler803 opened this issue Feb 8, 2017 · 6 comments
Assignees
Labels

Comments

@scrambler803
Copy link

Hi, I'm brand new to all this and have very limited scripting experience. I tried to research the issue best I could, but now I need somebody more experienced to throw eyes on this.

I'm unable to install 'cpp-ethereum' using the following command:

brew install cpp-ethereum --verbose

I get the following error:

make: *** [all] Error 2
and
Error: ethereum/ethereum/cpp-ethereum 1.3.0 did not build

My best guess is the problem could be related to the Cryptopp version number. The following line indicates version 570, but my Homebrew version is 565.
/tmp/cpp-ethereum-20170208-71388-1g9mo8t/libdevcrypto/CryptoPP.cpp:31:1: error: static_assert failed "Wrong Crypto++ version" static_assert(CRYPTOPP_VERSION == 570, "Wrong Crypto++ version");

After doing some digging here, it seems that these versions are referring to the local and global versions respectively, as mentioned here #3493

In this thread, it appears that a patch had been committed to address this issue:
Add HeaderVersion() and LibraryVersion() functions #371

So I can't tell if this is an actual problem for me, or a red herring.

The other error that occurs just before the installation terminates looks like this:
[ 27%] Built target llvm-project make: *** [all] Error 2

I have no idea what this means. Can someone look at the output from my terminal session and help me get pointed in the right direction? Please 🤞 I've attached it as .txt file
failed brew_install_cpp-ethereum_verbose.txt

macOS: 10.11.6-x86_64

@momchilov
Copy link

I'm having the same issue on macOS 10.12.3

@scrambler803
Copy link
Author

@momchilov Are you encountering both errors? Or one or the other?

@chfast
Copy link
Member

chfast commented Feb 9, 2017

I just pushed the fix for this. Sorry for inconvenience.

BTW, Crypto++ is not the system dependency any more.

@scrambler803
Copy link
Author

Thank you, I uninstalled Cryptopp using
brew uninstall cryptopp

Then I installed using
brew reinstall cpp-ethereum --with-gpu-mining --devel --headless --build-from-source

The install was successful, however I can't seem to get up and mining with GPU. But I suppose that's an issue for another thread.
And if I'm reading it correctly, according to #3528 GPU mining is no longer possible?

@chfast
Copy link
Member

chfast commented Feb 10, 2017

Yes. Unfortunately, we don't support OpenCL (GPU mining) any more.

@chfast
Copy link
Member

chfast commented Feb 10, 2017

Fixed by #3542.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants