Closed mullinyu closed 2 years ago
Thank you very much for reporting the issue. I cannot help you but maybe somebody at @Rostlab/members can
I just tackled this error. It is due to new C++11 compiler error when implicitly converting streams to bool. See this stackoverflow post.
The .cpp code can be fixed by changing from instances of if (stream == NULL)
to if (stream.fail())
and from if (stream != NULL)
to if (stream)
.
Could you explain in detail ?I don't understand
How to resolve a similar error for this part *_errorOut != cerr
in the if condition?
Unfortunately, we don't have the capacity to maintain this tool, and it's thus depecreated. If you are interested in protein conservation prediction, consider running VESPA instead: https://github.com/Rostlab/VESPA#step-2-conservation-prediction
Okay. Thank you for the quick response and for sharing the useful link.
after C++11 standard we should use nullptr instead of NULL. and if (_errorOut != nullptr && !(_errorOut == &cerr)) we have to change compule more errors in .cpp files
I'm trying to build rate4site by the following command on a Linux machine and got the following error.
~/software/ConSurf/3rd party software$ ./rate4site_build.sh g++ -O3 -Wno-deprecated -c -o errorMsg.o errorMsg.cpp errorMsg.cpp: In static member function 'static void errorMsg::reportError(const std::vector<std::__cxx11::basic_string >&, int)':
errorMsg.cpp:18:39: error: no match for 'operator!=' (operand types are 'std::ostream {aka std::basic_ostream}' and 'std::ostream {aka std::basic_ostream}')
if (_errorOut != NULL && *_errorOut != cerr) {