Antoine Pitrou created ARROW-5347: ------------------------------------- Summary: [C++] Building fails on Windows with gtest symbol issue Key: ARROW-5347 URL: https://issues.apache.org/jira/browse/ARROW-5347 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Antoine Pitrou
I get the following on my WIndows VM: {code} compute-test.cc.obj : error LNK2001: unresolved external symbol "class testing:: internal::Mutex testing::internal::g_gmock_mutex" (?g_gmock_mutex@internal@testi ng@@3VMutex@12@A) release\arrow-compute-test.exe : fatal error LNK1120: 1 unresolved externals {code} It's probably caused by something like https://github.com/google/googletest/issues/292 except that our CMake code already seems to handle this issue, so I'm not sure what happens. Here is my build script: {code} cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Detackle tbug ^ -DARROW_USE_CLCACHE=ON ^ -DARROW_BOOST_USE_SHARED=OFF ^ -DBOOST_ROOT=C:\boost_1_67_0 ^ -DARROW_DEPENDENCY_SOURCE=BUNDLED ^ -DARROW_PYTHON=OFF ^ -DARROW_PLASMA=OFF ^ -DARROW_BUILD_TESTS=ON ^ .. cmake --build . --config Debug {code} I'm using conda for dependencies. -- This message was sent by Atlassian JIRA (v7.6.3#76005)