Closed shilaixing closed 7 years ago
Hi, Strange that the compiler cannot find the STL string header - which compiler (and version) are you using to make the project?
Best regards, Ivan.
The compiler version was gcc_5.4.0 (gcc >= 4.8). You remind me of the version, so I try another version(gcc_4.9.1). The good news is it works! Thank you very much!
Great, thanks! I need to inspect this in detail.
Best regards, Ivan.
Hello! I tried to install aracon on my Linux service (CentOS release 6.2) with following steps: 1) git clone https://github.com/isovic/aracon.git 2) cd aracon 3) make
The installing process was stoped with the following messages: [GET MODULES] Submodule 'components/graphmap' () registered for path 'components/graphmap' Submodule 'components/miniasm' () registered for path 'components/miniasm' Submodule 'components/racon' () registered for path 'components/racon' Submodule 'components/samscripts' () registered for path 'components/samscripts' Submodule path 'components/graphmap': checked out '1d16f07888b60547094e8257688088d6f00be8af' Submodule 'codebase/argumentparser' (https://github.com/isovic/graphmap.git) registered for path 'codebase/argumentparser' Submodule 'codebase/seqlib' (https://github.com/isovic/graphmap.git) registered for path 'codebase/seqlib' Submodule path 'codebase/argumentparser': checked out 'd0dae52c3d1b029f65f3bf4f0cd671e88dbeb98f' Submodule path 'codebase/seqlib': checked out 'e0833dc91343ac7a1e33fb6b2f08bc9009bf9a8b' Submodule path 'components/racon': checked out '0bb2fd6ca9fa4492b0ba7b6751d242795c02f6fa' Submodule 'codebase/argparser' (https://github.com/isovic/racon.git) registered for path 'codebase/argparser' Submodule 'codebase/samscripts' (https://github.com/isovic/racon.git) registered for path 'codebase/samscripts' Submodule 'codebase/seqlib' (https://github.com/isovic/racon.git) registered for path 'codebase/seqlib' Submodule 'codebase/spoa' (https://github.com/isovic/racon.git) registered for path 'codebase/spoa' Submodule path 'components/samscripts': checked out 'b40d0663f6a5c477d5f6908f83567758fb627e08' Entering 'components/graphmap' From https://github.com/isovic/graphmap
/share/work2/staff/xingsk/software_install/Minisam_Racon/aracon/components/graphmap' make[1]: Entering directory
/share/work2/staff/xingsk/software_install/Minisam_Racon/aracon/components/graphmap' Makefile:97: " WARNING g++ minor version <7 " mkdir -p obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/ g++ -static-libgcc -static-libstdc++ -Dcplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread -o obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.o codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.cpp mkdir -p obj_linux/codebase/seqlib/src/libs/ g++ -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread -o obj_linux/codebase/seqlib/src/libs/edlib.o codebase/seqlib/src/libs/edlib.cpp mkdir -p obj_linux/codebase/seqlib/src/libs/ g++ -static-libgcc -static-libstdc++ -Dcplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread -o obj_linux/codebase/seqlib/src/libs/opal.o codebase/seqlib/src/libs/opal.cpp mkdir -p obj_linux/codebase/argumentparser/src/ codebase/seqlib/src/libs/edlib.cpp:4:19: Fatal error: cstdlib:No such file or directory compilation terminated make[1]: [obj_linux/codebase/seqlib/src/libs/edlib.o] error 1 make[1]: waiting for unfinished jobs.... g++ -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread -o obj_linux/codebase/argumentparser/src/argparser.o codebase/argumentparser/src/argparser.cc In file included from codebase/argumentparser/src/argparser.cc:10:0: codebase/argumentparser/src/argparser.h:16:18: Fatal error:string:No such file or directory compilation terminated make[1]: [obj_linux/codebase/argumentparser/src/argparser.o] error 1 make[1]: No child processes. Stop. make: *** [components/graphmap/bin/Linux-x64/graphmap] error 2So what can i do now?