brechtsanders / xlsxio

XLSX I/O - C library for reading and writing .xlsx files
MIT License
417 stars 112 forks source link

Failed to build on MSYS2 #77

Closed taozuhong closed 3 years ago

taozuhong commented 4 years ago

-- Found ZLIB: C:/msys/mingw64/lib/libz.dll.a (found version "1.2.11") CMake Error at C:/msys/mingw64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Minizip (missing: MINIZIP_LIBRARIES MINIZIP_INCLUDE_DIRS) Call Stack (most recent call first): C:/msys/mingw64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) CMake/FindMinizip.cmake:18 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:38 (FIND_PACKAGE)

then install minizip2: mingw64/mingw-w64-x86_64-minizip2 2.7.0-1, yet not solve the problem.

pls consider link with minizip make by this project or use system zlib library: https://github.com/nmoinvaz/minizip

The Mingw package file: msys.zip

taozuhong commented 4 years ago

this library only depends on zlib https://github.com/jmcnamara/libxlsxwriter