[
https://issues.apache.org/jira/browse/PARQUET-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026900#comment-16026900
]
Max Risuhin commented on PARQUET-1004:
--------------------------------------
It looks like to allow parquet-cpp to be built with custom zlib, you need to
have PARQUET_ZLIB_VENDORED turned off by passing to cmake
-DPARQUET_ZLIB_VENDORED=OFF . Also environment variable ZLIB_HOME in your case
should be configured to "C:\src\vcpkg\packages\zlib_x64-windows". And you can
pass -DZLIB_MSVC_STATIC_LIB_SUFFIX="lib" to make it search for zlib.lib static
lib instead of default zlibstatic.lib
> CPP Building fails on windows
> -----------------------------
>
> Key: PARQUET-1004
> URL: https://issues.apache.org/jira/browse/PARQUET-1004
> Project: Parquet
> Issue Type: Bug
> Components: parquet-cpp
> Environment: Windows 10
> Visual Studio 2015
> Reporter: allen tom
>
> Cannot open C:\src\vcpkg\packages\zlib_x64-windows\lib\zlibstatic.lib. The
> problem comes when PARQUET_ZLIB_VENDORED is turned on.
> The reason is because of these four lines
> https://github.com/apache/parquet-cpp/blob/bac81a7a6e13aa28f8b828e336dd80f84950cdcc/cmake_modules/FindZLIB.cmake#L69-L72
> However with the local libs it's zlib.lib and not zlibstatic.lib
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)