Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Workaround
-
None
-
None
Description
I get the following on my WIndows VM:
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
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:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug ^
-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
I'm using conda for dependencies.