You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2022/05/30 07:16:00 UTC
[jira] [Created] (ARROW-16683) [C++] Bundled gflags misses dependency
Kouhei Sutou created ARROW-16683:
------------------------------------
Summary: [C++] Bundled gflags misses dependency
Key: ARROW-16683
URL: https://issues.apache.org/jira/browse/ARROW-16683
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Kouhei Sutou
Assignee: Kouhei Sutou
https://lists.apache.org/thread/15470pntvv5p2x49qwpkdv0trn6d9p6j
{noformat}
cmake .. -G "Visual Studio 16 2019" -A x64 -DARROW_BUILD_TESTS=ON
says it can't find gflags and will build them from source:
-- Building gflags from source
-- Added static library dependency gflags::gflags_static: C:/Users/avertleyb/git/arrow/cpp/build/gflags_ep-prefix/src/gflags_ep/lib/gflags_static.lib
The second step -
cmake --build . --config Release
right away complains about this library:
LINK : fatal error LNK1181: cannot open input file 'C:\Users\avertleyb\git\arrow\cpp\build\gflags_ep-prefix\src\gflags_ep\lib\gflags_static.lib' [C:\Users\avertleyb\git\arrow\cpp\build\src\arrow\arrow_bundled_dependencies.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\Users\avertleyb\git\arrow\cpp\build\CMakeFiles\b033194e6d32d6a2595cc88c82
72e4b2\arrow_bundled_dependencies.lib.rule;C:\Users\avertleyb\git\arrow\cpp\build\CMakeFiles\672df30e18a621ddf9c15292835268fd\arrow_bundled_dependencies.rule' exited with code 1181. [C:\Users\avertleyb\git\arrow\cpp\build\src\arrow\arro
w_bundled_dependencies.vcxproj]
However it proceeds with the build, and when the build ends, the library is there:
C:\Users\avertleyb\git\arrow\cpp\build>dir C:\Users\avertleyb\git\arrow\cpp\build\gflags_ep-prefix\src\gflags_ep\lib\gflags_static.lib
Volume in drive C is Windows
Volume Serial Number is 3E24-1FC6
Directory of C:\Users\avertleyb\git\arrow\cpp\build\gflags_ep-prefix\src\gflags_ep\lib
05/26/2022 02:40 PM 672,310 gflags_static.lib
1 File(s) 672,310 bytes
0 Dir(s) 288,920,072,192 bytes free
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)