I am targeting Visual Studio 2022 on Windows 10. Python 3.11.3 is installed and the zip at https://github.com/Refinitiv-API-Samples/Example.DataLibrary.Python is downloaded and unzipped into a folder named SDK. I used the cmake command provided in the README.md in folder Cpp-C as follows:
cmake -HSDK -BSDKbin -G"Visual Studio 17 2022" -A x64
How do I get around the following CMake problem. It seems to be unable to pull "l8w8jwt" from Git. But when I try to download it manually, Git downloads the zip file l8w8jwt-master just fine.
CMake fails with the the message:
CMake Warning at CMake/addExternal_l8w8jwt.cmake:69 (message):
Git pull of l8w8jwt failed! gitcmd:GIT_EXECUTABLE-NOTFOUND
dir:
ret:The system cannot find the file specified
out:
Call Stack (most recent call first):
CMakeLists.txt:41 (include)
CMake Error: The source directory "C:/Data/Code/VS/Stocks/Ref/SDKbin/external/BUILD/l8w8jwt/source/l8w8jwt" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error at CMake/addExternal_l8w8jwt.cmake:150 (message):
External Project CMake step for l8w8jwt in failed: 1
Call Stack (most recent call first):
CMakeLists.txt:41 (include)
CMake Error: The source directory "C:/Data/Code/VS/Stocks/Ref/SDKbin/external/BUILD/l8w8jwt/source/l8w8jwt" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
CMake Error at CMake/addExternal_l8w8jwt.cmake:150 (message):
External Project CMake step for l8w8jwt in failed: 1