What I want to do
I got a source SDK file folder which contains all the files needed to create a project (or .sln), including a CMakeLists. And then I tried to use CMake to build a solution file. And this image below is the guide for how to get this SDK started.
What I did
Open Visual Studio 2019 (The CMake module have been installed).
Open the SDK file folder with VS2019.
Click "Tools" and open Visual Studio 2019 Developer Command Prompt v16.4.2.
Type:
mkdir build cd build cmake -G"Visual Studio 15 2017 Win64" ..
Problem
And I met the problem below:
CMake Error at CMakeLists.txt:2 (project):
Generator
Visual Studio 15 2017 Win64
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/admin/Desktop/StructureSDK-CrossPlatform-0.7.3-ROS/build/CMakeFiles/CMakeOutput.log".