This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Errors of qscore installation

I tried to install qscore method(https://www.drive5.com/qscore/) to score multiple sequence alignment against its reference ailgnment from Balibase. But I got an error as below when I ran 'make' command.

g++ -O3 -g -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -W -c comparepair.cpp In file included from /usr/include/c++/4.9/ext/hash_map:60:0, 
    from qscore.h:21, 
    from comparepair.cpp:1: 
/usr/include/c++/4.9/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ 
^ 
comparepair.cpp:5:28: error: ‘UINT_MAX’ was not declared in this scope unsigned g_TestSeqIndexA = UINT_MAX;
 ^ 
comparepair.cpp:6:28: error: ‘UINT_MAX’ was not declared in this scope unsigned g_TestSeqIndexB = UINT_MAX;
 ^
 comparepair.cpp:7:27: error: ‘UINT_MAX’ was not declared in this scope unsigned g_RefSeqIndexA = UINT_MAX; 
^ 
comparepair.cpp:8:27: error: ‘UINT_MAX’ was not declared in this scope unsigned g_RefSeqIndexB = UINT_MAX; 
^ 
Makefile:4: recipe for target 'comparepair.o' failed make: * [comparepair.o] Error 1

Then I tried to use #include limit to check whether it makes any difference. But the error came all the time. Could anyone help me to fix this.

qscore msa scoring msa cp score msa score

1 answer

Add to qscore.h:

#include <climits>

Log in to answer this question.