libcellml icon indicating copy to clipboard operation
libcellml copied to clipboard

Should prevent the build from going ahead if we don't have `zlib`

Open agarny opened this issue 4 years ago • 5 comments

I am trying to build libCellML on a "vanilla" version of Windows and, after installing libXml2, CMake allows me to fully configure libCellML (even though I don't have zlib on my system). This means that when I try to build libCellML, I eventually get told that zlib.h cannot be found (from xmldoc.cpp).

agarny avatar Jul 16 '21 03:07 agarny

Just how I planned it. Did you follow the build instructions?

hsorby avatar Jul 16 '21 03:07 hsorby

You mean https://libcellml.org/documentation/developers/v0.2.0/dev_setup#dev-setup?

agarny avatar Jul 16 '21 03:07 agarny

I guess they need updating then.

hsorby avatar Jul 16 '21 04:07 hsorby

Yup! :)

agarny avatar Jul 16 '21 05:07 agarny

If I remember, this was something that changed with using the pre-built libXml2 with (updated) VS 2019. @hsorby fixed it on my machine and then was presumably going to update the instructions ;-) It looks like I built my own libxml2 and zlib from the OpenCMISS-Dependencies sources.

nickerso avatar Jul 18 '21 21:07 nickerso