Hey,
I do not know much about C compilation, so I am not perfectly sure this is not a system specific issue, but compilation fails for me:
/home/user/libsbml-5.20.2/doltlibtool --mode=compile --tag=CXX g++ -I. -I/home/user/libsbml-5.20.2/src -DLINUX -I/usr/include/libxml2 -DUSE_LIBXML -MT LibXMLParser.lo -MD -MP -MF ".deps/LibXMLParser.Po" -c -o LibXMLParser.lo LibXMLParser.cpp
LibXMLParser.cpp: In member function ‘virtual bool LibXMLParser::parseNext()’:
LibXMLParser.cpp:427:46: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
427 | xmlErrorPtr libxmlError = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const _xmlError*}
make[3]: *** [../../../config/makefile-common-actions.mk:301: LibXMLParser.lo] Error 1
make[3]: Leaving directory '/home/user/libsbml-5.20.2/src/sbml/xml'
make[2]: *** [../../config/makefile-common-actions.mk:373: xml-recurse] Error 2
make[2]: Leaving directory '/home/user/libsbml-5.20.2/src/sbml'
make[1]: *** [../config/makefile-common-actions.mk:373: sbml-recurse] Error 2
make[1]: Leaving directory '/home/user/libsbml-5.20.2/src'
make: *** [config/makefile-common-actions.mk:373: src-recurse] Error 2
make: Leaving directory '/home/user/libsbml-5.20.2'
This documentation page mentions one needs " libxml2 version 2.6.16 or later" which in principle is satisfied. To be honest, I have almost never seen a project that specifies "or later" for any dependency that still builds a year later, but I guess that is besides the point.
Am I correct in assuming that this indicates there is a version mismatch between libsbml and libxml2?
Hey,
I do not know much about C compilation, so I am not perfectly sure this is not a system specific issue, but compilation fails for me:
This documentation page mentions one needs " libxml2 version 2.6.16 or later" which in principle is satisfied. To be honest, I have almost never seen a project that specifies "or later" for any dependency that still builds a year later, but I guess that is besides the point.
Am I correct in assuming that this indicates there is a version mismatch between libsbml and libxml2?