You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/05/11 19:59:04 UTC
[jira] [Resolved] (ARROW-1003) [C++] Hdfs and java dlls fail to
load when built for Windows with MSVC
[ https://issues.apache.org/jira/browse/ARROW-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-1003.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 669
[https://github.com/apache/arrow/pull/669]
> [C++] Hdfs and java dlls fail to load when built for Windows with MSVC
> ----------------------------------------------------------------------
>
> Key: ARROW-1003
> URL: https://issues.apache.org/jira/browse/ARROW-1003
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Environment: Windows, MSVC
> Reporter: Balázs Gosztonyi
> Labels: easyfix, windows
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> If I build the cpp library with MSVC for windows and try to use the hdfs io interface, the dynamic library loads fail.
> The reason is that in file hdfs-internal.cc on two occasions the __WIN32 define is checked instead of _WIN32. The former is not set by MSVC. I checked that these are the only two locations in the arrow library where the flag __WIN32 is used, so all we need to do is replace these two references in hdfs-internal.cc.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)