[
https://issues.apache.org/jira/browse/ARROW-16778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17552345#comment-17552345
]
Arkadiy Vertleyb commented on ARROW-16778:
------------------------------------------
Can't build Debug version. Is:
cmake --build . --config Debug
The right way to do it?
Getting the following:
Performing copy step for 'googletest_ep'
Error copying file
"C:/.../arrow/cpp/build32_debug/googletest_ep-prefix/bin/gtest.dll" to
"C:/.../arrow/cpp/build32_debug/release//RELEASE".
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5):
error MSB8066: Custom build for
'C:\...\arrow\cpp\build32_debug\CMakeFiles\d9834a26c074484d22
c6b56466b8c71e\googletest_ep-copy.rule;C:\...\arrow\cpp\build32_debug\CMakeFiles\0e7b907092777ef17a2918749093be30\googletest_ep-complete.rule;C:\...\arrow\cpp\build32_debug\CMakeFiles\4d50031ad3e0595d6aa1
aebb9c9d11b8\googletest_ep.rule' exited with code 1.
[C:\...\arrow\cpp\build32_debug\googletest_ep.vcxproj]
> [C++] 32 bit MSVC doesn't build
> -------------------------------
>
> Key: ARROW-16778
> URL: https://issues.apache.org/jira/browse/ARROW-16778
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Environment: Win32, MSVC
> Reporter: Arkadiy Vertleyb
> Priority: Major
>
> When specifying Win32 as a platform, and building with MSVC, the build fails
> with the following compile errors :
> {noformat}
> C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(70,59): error
> C3861: '__popcnt64': identifier not found
> [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj]
> C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(204,7): error
> C3861: '_BitScanReverse64': identifier not found
> [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj]
> C:\Users\avertleyb\git\arrow\cpp\src\arrow/util/bit_util.h(250,7): error
> C3861: '_BitScanForward64': identifier not found
> [C:\Users\avertleyb\git\arrow\cpp\build32\src\arrow\arrow_shared.vcxproj]
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)