It is ubuntu linux (Linux version 3.2.0-26-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012).
I just follow the instruction of
bam-readcount. After exporting
SAMTOOLS_ROOT, I recursively clone the
bam-readcount repository without error.
When I execute the
cmake command, there was a warning:
WARNING: Target "bam-readcount" requests linking to directory "/software/sequencing/samtools_latest". Targets may link only to libraries. CMake is dropping the item.
When I further execute the make command, error appeared as:
[100%] Building CXX object build/src/exe/bam-readcount/CMakeFiles/bam-readcount.dir/bamreadcount.cpp.o
/home/danielho/bam-readcount/src/exe/bam-readcount/bamreadcount.cpp:1:0: warning: "_GNU_SOURCE" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
/home/danielho/bam-readcount/src/exe/bam-readcount/bamreadcount.cpp:4:17: fatal error: sam.h: No such file or directory
make: *** [build/src/exe/bam-readcount/CMakeFiles/bam-readcount.dir/bamreadcount.cpp.o] Error 1
make: *** [build/src/exe/bam-readcount/CMakeFiles/bam-readcount.dir/all] Error 2
make: *** [all] Error 2
modified 13 months ago
RamRS ♦ 30k
7.8 years ago by
waihungh • 20