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

compilation error because sparsehash/sparse_hash_map is not found #38

Open
GoogleCodeExporter opened this issue Aug 27, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. tar -xzvf ea-utils.1.1.2-806.tar.gz
2. cd ea-utils.1.1.2-806
3. PREFIX=$HOME make install

What is the expected output? What do you see instead?
...
g++  -I/home/flutre/include fastq-mcf.cpp fastq-lib.cpp -o fastq-mcf
fastq-mcf.cpp:29:81: fatal error: sparsehash/sparse_hash_map: No such file or 
directory
 #include <sparsehash/sparse_hash_map> // or sparse_hash_set, dense_hash_map, ...
compilation terminated.
make: *** [fastq-mcf] Error 1

What version of the product are you using?
the latest

On what operating system?
Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 
GNU/Linux

Please provide any additional information below.
The file does exist:
$ file sparsehash/sparse_hash_map
sparsehash/sparse_hash_map: ASCII C++ program text
Maybe the Makefile shoud be edited so that this file is found?

Original issue reported on code.google.com by timflu...@gmail.com on 6 Nov 2014 at 8:03

@GoogleCodeExporter
Copy link
Author

make CPLUS_INCLUDE_PATH=`pwd`

will correct the build problem.
CPLUS_INCLUDE_PATH will tell g++ where to look for the include files.

Original comment by edeve...@gmail.com on 13 Feb 2015 at 2:48

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

No branches or pull requests

1 participant