Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google dense_hash_map missing? #42

Open
pstuermlinger opened this issue Apr 3, 2016 · 4 comments
Open

Google dense_hash_map missing? #42

pstuermlinger opened this issue Apr 3, 2016 · 4 comments

Comments

@pstuermlinger
Copy link

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
Copy link
Author

I should better read the README and not only docs.

In the sparsehash folder:

./configure
make install

@ghost
Copy link

ghost commented Jan 4, 2018

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

@Madsave
Copy link

Madsave commented Jan 16, 2018

this comment fix it for me thank you **

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

**

@lawrencekiba
Copy link

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.

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

No branches or pull requests

3 participants