blockparser icon indicating copy to clipboard operation
blockparser copied to clipboard

Google dense_hash_map missing?

Open pstuermlinger opened this issue 9 years ago • 4 comments

When I do a ./make on my Ubuntu 14.04 it fails with the following error:

$ ./make
c++ -- .r... -- parser.cpp
c++ -- .r... -- cb/taint.cpp
c++ -- .r... -- cb/sql.cpp
c++ -- .r... -- cb/dumpTX.cpp
c++ -- .r... -- cb/closure.cpp
c++ -- .r... -- cb/headers.cpp
c++ -- .r... -- cb/rawdump.cpp
c++ -- .r... -- cb/rewards.cpp
c++ -- .r... -- cb/pristine.cpp
In file included from cb/dumpTX.cpp:4:0:
./util.h:215:45: fatal error: google/dense_hash_map: File or directory not found.
             #include <google/dense_hash_map>

And a lot more errors regarding dense hash map.

I tried to get its source from https://github.com/sparsehash/sparsehash and include the missing files, but at the end it still misses a sparseconfig.h I can't find.

Any hints?

pstuermlinger avatar Apr 03 '16 13:04 pstuermlinger

I should better read the README and not only docs.

In the sparsehash folder:

./configure
make install

pstuermlinger avatar Apr 05 '16 15:04 pstuermlinger

    sudo apt-get install libssl-dev build-essential g++ libboost-all-dev libsparsehash-dev git-core perl

ghost avatar Jan 04 '18 07:01 ghost

this comment fix it for me thank you **

apt-get install libssl-dev build-essential g++ libboost-all-dev libsparsehash-dev git-core perl

**

Madsave avatar Jan 16 '18 11:01 Madsave

sudo apt-get install libssl-dev build-essential g++ libboost-all-dev libsparsehash-dev git-core perl

Fixed it in my case as well, thank you.

lawrencekiba avatar Apr 02 '19 03:04 lawrencekiba