Question: Errors of qscore installation
0
gravatar for hmnipunad
3 days ago by
hmnipunad0
hmnipunad0 wrote:

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.

ADD COMMENTlink modified 3 days ago by genomax39k • written 3 days ago by hmnipunad0
0
gravatar for h.mon
3 days ago by
h.mon9.6k
Brazil
h.mon9.6k wrote:

Add to qscore.h:

#include <climits>
ADD COMMENTlink written 3 days ago by h.mon9.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1512 users visited in the last hour