Patched openbabel compilation failed on Ubuntu
Brought to you by:
igor_filippov
While compiling openbabel patched version 3, I am encountering error, which likely coming from this error-
[ 33%] Building CXX object src/formats/CMakeFiles/MNAformat.dir/MNAformat.cpp.o
make[2]: *** [src/formats/CMakeFiles/asciiformat.dir/build.make:90: src/formats/CMakeFiles/asciiformat.dir/__/depict/asciipainter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1595: src/formats/CMakeFiles/asciiformat.dir/all] Error 2
Is there anyway I can address this error?
This is solved after adding #include <ctime> in bunch of locations.</ctime>
Glad it was easy to resolve.