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:35:04 UTC
[jira] [Created] (ARROW-1003) Hdfs and java dlls fail to load when
built for Windows with MSVC
Balázs Gosztonyi created ARROW-1003:
---------------------------------------
Summary: 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
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)