Gonzalo-Villarino / ea-utils

Automatically exported from code.google.com/p/ea-utils
0 stars 0 forks source link

compilation error because sparsehash/sparse_hash_map is not found #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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