Open MatthewRalston opened 8 years ago
The same error did not occur in jellyfish-2.2.4
jellyfish-2.2.4>make
make all-am
make[1]: Entering directory `/home/ralstonm/sandbox/jellyfish-2.2.4'
CXX lib/rectangular_binary_matrix.lo
CXX lib/mer_dna.lo
CXX lib/storage.lo
CXX lib/allocators_mmap.lo
CXX lib/misc.lo
CXX lib/int128.lo
CXX lib/thread_exec.lo
CXX lib/jsoncpp.lo
CXX lib/time.lo
CXX lib/generator_manager.lo
CXXLD libjellyfish-2.0.la
CXX swig/ruby/swig_ruby_jellyfish_la-swig_wrap.lo
CXXLD swig/ruby/jellyfish.la
CXX sub_commands/jellyfish.o
CXX sub_commands/count_main.o
CXX sub_commands/info_main.o
CXX sub_commands/dump_main.o
CXX sub_commands/histo_main.o
CXX sub_commands/stats_main.o
CXX sub_commands/merge_main.o
CXX sub_commands/bc_main.o
CXX sub_commands/query_main.o
CXX sub_commands/cite_main.o
CXX sub_commands/mem_main.o
CXX jellyfish/merge_files.o
CXXLD bin/jellyfish
make[1]: Leaving directory `/home/ralstonm/sandbox/jellyfish-2.2.4'
What version of the gcc compiler are you using? nullptr was added in 4.6. You can replace nullptr by NULL in the file swig/string_mer.i and recompile. I presume it should work.
It is true that the original requirement was only 4.4. If this bug compilation problem can be fix easily, I don't know how long I'll maintain backward compatibility to 4.4.