MBG icon indicating copy to clipboard operation
MBG copied to clipboard

make: *** [makefile:37: bin/MBG] Error 1

Open theo-allnutt-bioinformatics opened this issue 2 years ago • 1 comments

Installing on HPC with no root. CentOS.

make bin/MBG g++ -o bin/MBG obj/MBG.o obj/fastqloader.o obj/CommonUtils.o obj/MBGCommon.o obj/FastHasher.o obj/SparseEdgeContainer.o obj/HashList.o obj/UnitigGraph.o obj/BluntGraph.o obj/HPCConsensus.o obj/ErrorMaskHelper.o obj/CompressedSequence.o obj/ConsensusMaker.o obj/StringIndex.o obj/RankBitvector.o obj/UnitigResolver.o obj/UnitigHelper.o obj/BigVectorSet.o obj/ReadHelper.o obj/Serializer.o obj/DumbSelect.o obj/MsatValueVector.o obj/Node.o obj/KmerMatcher.o obj/main.o -Wall -Wextra -std=c++17 -O3 -g -Izstr/src -Iparallel-hashmap/parallel_hashmap/ -Wno-unused-parameter -Icxxopts/include -Iconcurrentqueue pkg-config --cflags zlib -Wl,-Bstatic pkg-config --libs zlib -Wl,-Bdynamic -Wl,--as-needed -lpthread -pthread -static-libstdc++ /bin/ld: cannot find -lstdc++ collect2: error: ld returned 1 exit status make: *** [makefile:37: bin/MBG] Error 1

That looks like your g++ compiler is broken, it's reporting the standard library as missing. You can use the conda manager to install MBG instead if you are having trouble compiling.

skoren avatar Jul 10 '23 14:07 skoren