You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows10 (64bit) and MinGW compiler (TDM-GCC 9.2) and CMake 3.19.4 I get errors when build process reaches "example" and "minigzip". For both the "zlib.h" is missing.
When I change CMakeLists.txt of zlib:
According to the solution provided on Stack Overflow, one could also add ${CMAKE_CURRENT_SOURCE_DIR} to the include_directories command right before the zlib part.
(In my case, the build fails on a default docker image of debian:buster)
I have to compile zlib off my source tree an install the output into my project. I use this CMakeLists.txt for that:
On Windows10 (64bit) and MinGW compiler (TDM-GCC 9.2) and CMake 3.19.4 I get errors when build process reaches "example" and "minigzip". For both the "zlib.h" is missing.
When I change CMakeLists.txt of zlib:
All works fine.
Regards,
Andreas
The text was updated successfully, but these errors were encountered: