Reputation: 1937
I'm trying to build google-cloud-cpp, but I get an error (see below). I have attempted building it using both VC++ and g++
, but I get the same error during with both. I use cmake-gui.
Build Environment : Visual Studios 2017
OS : Windows 10 Pro 64-bit
Build Environment : Mingw-w64 8.1.0
OS : Windows 10 Pro 64-bit
Target : 64-bit
Error:
CMake Error at cmake/IncludeGMock.cmake:38 (add_library):
Cannot find source file:
D:/google-cloud-cpp/third_party/googletest/googletest/src/gtest-all.cc
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
Call Stack (most recent call first):
cmake/GoogleCloudCppCommon.cmake:48 (include)
google/cloud/CMakeLists.txt:42 (include)
CMake Error at cmake/IncludeGMock.cmake:38 (add_library):
No SOURCES given to target: gmock
Call Stack (most recent call first):
cmake/GoogleCloudCppCommon.cmake:48 (include)
google/cloud/CMakeLists.txt:42 (include)
Upvotes: 1
Views: 468
Reputation: 1937
After git clone https://github.com/GoogleCloudPlatform/google-cloud-cpp.git
Enter directory
Run git submodule update --init
Upvotes: 0