When i install bowtie 2 by Cygwin (on win7 32 bits), the problem occured in the following:
/usr/bin/g++ -O3 -m32 -msse2 -funroll-loops -g3 -DCOMPILER_OPTIONS="\"-O3 -m32 -msse2 -funroll-loops -g3 \"" \
-fno-strict-aliasing -DBOWTIE2_VERSION="\"`cat VERSION`\"" -DBUILD_HOST="\"`hostname`\"" -DBUILD_TIME="\"`date`\"" -DCOMPILER_VERSION="\"`/usr/bin/g++ -v 2>&1 | tail -1`\"" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBOWTIE_PTHREADS -DPREFETCH_LOCALITY=2 -DBOWTIE2 -DNDEBUG -Wall \
\
-o bowtie2-align bt2_search.cpp \
ccnt_lut.cpp ref_read.cpp alphabet.cpp shmem.cpp edit.cpp bt2_idx.cpp bt2_io.cpp bt2_util.cpp reference.cpp ds.cpp multikey_qsort.cpp qual.cpp pat.cpp sam.cpp read_qseq.cpp aligner_seed_policy.cpp aligner_seed.cpp aligner_sw.cpp aligner_sw_driver.cpp aligner_cache.cpp aligner_result.cpp ref_coord.cpp mask.cpp pe.cpp aln_sink.cpp dp_framer.cpp scoring.cpp presets.cpp unique.cpp aligner_swsse.cpp outq.cpp aligner_swsse_loc_i16.cpp aligner_swsse_ee_i16.cpp aligner_swsse_loc_u8.cpp aligner_swsse_ee_u8.cpp bowtie_main.cpp \
-lpthreadGC2
In file included from aln_sink.h:25:0,
from bt2_search.cpp:39:
unique.h: In member function ‘virtual TMapq BowtieMapq2::mapq(const AlnSetSumm&, const AlnFlags&, bool, size_t, size_t, char*) const’:
unique.h:229:37: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:229:50: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:339:37: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:339:50: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
......
who knows the probem? thanks
/usr/bin/g++ -O3 -m32 -msse2 -funroll-loops -g3 -DCOMPILER_OPTIONS="\"-O3 -m32 -msse2 -funroll-loops -g3 \"" \
-fno-strict-aliasing -DBOWTIE2_VERSION="\"`cat VERSION`\"" -DBUILD_HOST="\"`hostname`\"" -DBUILD_TIME="\"`date`\"" -DCOMPILER_VERSION="\"`/usr/bin/g++ -v 2>&1 | tail -1`\"" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBOWTIE_PTHREADS -DPREFETCH_LOCALITY=2 -DBOWTIE2 -DNDEBUG -Wall \
\
-o bowtie2-align bt2_search.cpp \
ccnt_lut.cpp ref_read.cpp alphabet.cpp shmem.cpp edit.cpp bt2_idx.cpp bt2_io.cpp bt2_util.cpp reference.cpp ds.cpp multikey_qsort.cpp qual.cpp pat.cpp sam.cpp read_qseq.cpp aligner_seed_policy.cpp aligner_seed.cpp aligner_sw.cpp aligner_sw_driver.cpp aligner_cache.cpp aligner_result.cpp ref_coord.cpp mask.cpp pe.cpp aln_sink.cpp dp_framer.cpp scoring.cpp presets.cpp unique.cpp aligner_swsse.cpp outq.cpp aligner_swsse_loc_i16.cpp aligner_swsse_ee_i16.cpp aligner_swsse_loc_u8.cpp aligner_swsse_ee_u8.cpp bowtie_main.cpp \
-lpthreadGC2
In file included from aln_sink.h:25:0,
from bt2_search.cpp:39:
unique.h: In member function ‘virtual TMapq BowtieMapq2::mapq(const AlnSetSumm&, const AlnFlags&, bool, size_t, size_t, char*) const’:
unique.h:229:37: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:229:50: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:339:37: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
/usr/include/stdlib.h:63:5: note: candidates are: int abs(int)
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstdlib:139:3: note: long int std::abs(long int)
unique.h:339:50: error: call of overloaded ‘abs(TAlScore&)’ is ambiguous
......
who knows the probem? thanks