GupAChup opened a new issue, #36117: URL: https://github.com/apache/arrow/issues/36117
### Describe the bug, including details regarding any error messages, version, and platform. I was trying to do a static build of arrow in my project and ran into a linker error. Here are the exact commands I ran: ``` git clone https://github.com/apache/arrow.git cd arrow/cpp mkdir build cd build cmake -DARROW_PARQUET=ON -DARROW_CSV=ON -DARROW_BUILD_STATIC=ON .. cmake --build . --target install ``` After running those commands, during the build process, I get the following error. ``` Performing install step for 'thrift_ep' -- thrift_ep install command succeeded. See also C:/Users/guppy/CLionProjects/NewDataframes/libs/arrow/cpp/build/thrift_ep-prefix/src/thrift_ep-stamp/th rift_ep-install-*.log Completed 'thrift_ep' Bundling C:/Users/guppy/CLionProjects/NewDataframes/libs/arrow/cpp/build/release/arrow_bundled_dependencies.lib LINK : fatal error LNK1370: failed to copy file 'C:\Users\guppy\CLionProjects\NewDataframes\libs\arrow\cpp\build\thrift_ep-install\bin\thriftmd.lib'; error code 3 [C:\Users\guppy\CLionProjects\NewDataframes\libs\arrow\cpp\build\src\arrow\arrow_bundled_dependencies_merge.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066: Custom build for 'C:\Users\guppy\CLionProjects\NewDataframes\libs\arrow\cpp\build\CMakeFiles\155e07f2be9d7893eea39b427b71fbbb\arrow_bundled_dependencies_merge.rule;C:\Users\guppy\CLionProjects\NewDataframes\libs\arrow\cpp\src\arrow\CMakeLists.txt' exited with code 1370. [C:\Users\guppy\CLionProjects\NewDataframes\libs\arrow\cpp\build\src\arrow\arrow_bundled_dependencies_merge.vcxproj] ``` Any help would be greatly appreciated. ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
