yana-safonova / ig_repertoire_constructor

An algorithm for error-correction of immunosequencing Illumina MiSeq reads and immunoproteogenomic analysis
Other
17 stars 8 forks source link

Compile error #144

Open davidecarlson opened 4 years ago

davidecarlson commented 4 years ago

Hi All, I'm trying to compile the latest version of Igrec on Centos 7, but I keep hitting errors. I'm using:

gcc 7.4.0 cmake 3.15.3 python 2.7.15

Here are the errors I get when I run "make" in the base igrec directory:

[ 19%] Building CXX object src/build_info/CMakeFiles/build_info.dir/build_info.cpp.o
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:4:27: warning: missing terminating " character [enabled by default]
     const char *version = "The executable files were built on Fri May  7 15:50:49 EDT 2004
                           ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:4:5: error: missing terminating " character
     const char *version = "The executable files were built on Fri May  7 15:50:49 EDT 2004
     ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:7:31: error: too many decimal points in number
 uname -a ouput is: Linux opie 2.4.21 #2 Tue Nov 4 10:29:56 EST 2003 x86_64 5  GNU/Linux";
                               ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:7:38: error: stray ‘#’ in program
 uname -a ouput is: Linux opie 2.4.21 #2 Tue Nov 4 10:29:56 EST 2003 x86_64 5  GNU/Linux";
                                      ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:7:88: warning: missing terminating " character [enabled by default]
 uname -a ouput is: Linux opie 2.4.21 #2 Tue Nov 4 10:29:56 EST 2003 x86_64 5  GNU/Linux";
                                                                                        ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:7:1: error: missing terminating " character
 uname -a ouput is: Linux opie 2.4.21 #2 Tue Nov 4 10:29:56 EST 2003 x86_64 5  GNU/Linux";
 ^
/home/progs/ig_repertoire_constructor/src/build_info/build_info.cpp:5:1: error: ‘The’ was not declared in this scope
 The version number of each individual application
 ^
make[3]: *** [src/build_info/CMakeFiles/build_info.dir/build.make:63: src/build_info/CMakeFiles/build_info.dir/build_info.cpp.o] Error 1
make[3]: Leaving directory '/home/progs/ig_repertoire_constructor/build/release'
make[2]: *** [CMakeFiles/Makefile2:1792: src/build_info/CMakeFiles/build_info.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

...compiling continues for a bit without further errors, then...

[ 35%] Built target boost_regex
make[2]: Leaving directory '/home/progs/ig_repertoire_constructor/build/release'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/home/progs/ig_repertoire_constructor/build/release'
make: *** [Makefile:21: igrec] Error 2

Any ideas what's going wrong here? Thanks for your help! Dave

Chushuhuch commented 4 years ago

Hi! I couldn't reproduce this problem. Just a guess: you might have VERSION file altered. It should contain something like '3.1.1', definitely not several lines. Does 'git status' show some changes in it? Try reverting it or checking the repo out again.