You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Balázs Gosztonyi (JIRA)" <ji...@apache.org> on 2017/05/10 16:42:04 UTC
[jira] [Updated] (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 ]
Balázs Gosztonyi updated ARROW-1003:
------------------------------------
Summary: [C++] Hdfs and java dlls fail to load when built for Windows with MSVC (was: Hdfs and java dlls fail to load when built for Windows with MSVC)
> [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)