Closed macmanes closed 9 years ago
Li,
I am getting an error that prohibits me from installing the software on Ubuntu Linux 14.04.2 kernel 3.13.0-46-generic
git clone https://github.com/mourisl/Rcorrector.git sh build.sh ... g++ -Wall -lpthread -g -I . -std=c++0x -c -o main.o main.cpp main.cpp: In function ‘int main(int, char**)’: main.cpp:289:10: warning: unused variable ‘readId’ [-Wunused-variable] char *readId = reads.id ; ^ main.cpp:297:10: warning: variable ‘readId2’ set but not used [-Wunused-but-set-variable] char *readId2, *seq2, *qual2 ; ^ main.cpp:82:9: warning: unused variable ‘j’ [-Wunused-variable] int i, j, k ; ^ g++ -Wall -lpthread -g -I . -std=c++0x -c -o KmerCode.o KmerCode.cpp g++ -Wall -lpthread -g -I . -std=c++0x -c -o ErrorCorrection.o ErrorCorrection.cpp ErrorCorrection.cpp: In function ‘void* ErrorCorrection_Thread(void*)’: ErrorCorrection.cpp:71:6: warning: unused variable ‘i’ [-Wunused-variable] int i, ind ; ^ ErrorCorrection.cpp: In function ‘void SearchPaths_Right(int, int, int, int, bool, char*, int, int*, int, int&, int*, int&, int&, int*, bool*, bool*, KmerCode&, Store&, int&)’: ErrorCorrection.cpp:328:7: warning: unused variable ‘j’ [-Wunused-variable] int j, k ; ^ g++ -o rcorrector -Wall -lpthread -g -I . -std=c++0x KmerCode.o ErrorCorrection.o main.o main.o: In function `main': /share/Rcorrector/main.cpp:375: undefined reference to `pthread_create' /share/Rcorrector/main.cpp:378: undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make: *** [all] Error 1
I just updated the Makefile. Could you please update it and try again? Thanks.
Looks good, thanks!
Li,
I am getting an error that prohibits me from installing the software on Ubuntu Linux 14.04.2 kernel 3.13.0-46-generic