iontorrent / TMAP

Torrent Mapping Alignment Program
GNU General Public License v2.0
49 stars 18 forks source link

TMAP compiling error #12

Open elenap80 opened 6 years ago

elenap80 commented 6 years ago

I'm trying to compile and install TMAP 3.0.1 in Ubuntu 17.10. I typed the following commands:

git clone git://github.com/iontorrent/TMAP.git cd TMAP git submodule init git submodule update git checkout -b 3.0.1 tmap.3.0.1 git submodule update

When I type sh autogen.sh && ./configure && make I get the following error:

depbase=echo src/sw/lib/Solution9.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\ g++ -DHAVE_CONFIG_H -I. -Wall -g -O3 -pthread -msse3 -DSTDC_LIMIT_MACROS -DSTDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -MT src/sw/lib/Solution9.o -MD -MP -MF $depbase.Tpo -c -o src/sw/lib/Solution9.o src/sw/lib/Solution9.cpp &&\ mv -f $depbase.Tpo $depbase.Po src/sw/lib/Solution9.cpp:152:133: error: narrowing conversion of ‘197’ from ‘int’ to ‘char’ inside { } [-Wnarrowing] DShiftedBigData16[16] = {0x68, 0xC5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ^ Makefile:1305: recipe for target 'src/sw/lib/Solution9.o' failed make[2]: [src/sw/lib/Solution9.o] Error 1 make[2]: Leaving directory '/home/elena/TMAP' Makefile:1348: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/elena/TMAP' Makefile:632: recipe for target 'all' failed make: *** [all] Error 2

May you help me to correctly compile and install TMAP? Thanks

blueagave commented 6 years ago

I'm running into the same problem on RHEL7.

Thanks

markwilkinson commented 4 years ago

I have the same problem on Mint 19.1

Any fixes? Seems that this thread hasn't been touched in many years...