进行make一步时报错如下:
[ 64%] Building CXX object src/CMakeFiles/qterm.dir/qtermbbs.o
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbbs.cpp: In member function ‘bool QTerm::BBS::checkUrl(QRect&, QRect&, bool)’:
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbbs.cpp:459: warning: suggest explicit braces to avoid ambiguous ‘else’
[ 65%] Building CXX object src/CMakeFiles/qterm.dir/qtermbuffer.o
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbuffer.cpp: In member function ‘void QTerm::Buffer::shiftStr(int, int, int, int)’:
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbuffer.cpp:284: error: ‘abs’ was not declared in this scope
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbuffer.cpp: In member function ‘QRect QTerm::Buffer::getSelectRect(int, bool)’:
/rocrocket/PSB/software/src/qterm-0.5.2/src/qtermbuffer.cpp:640: error: ‘abs’ was not declared in this scope
make[2]: *** [src/CMakeFiles/qterm.dir/qtermbuffer.o] Error 1
make[1]: *** [src/CMakeFiles/qterm.dir/all] Error 2
make: *** [all] Error 2
谁有什么线索或者解决思路么?谢谢! |