YDLIDAR / YDLidar-SDK

Driver for receiving YD LiDAR data and more...
Other
119 stars 221 forks source link

cmake error #46

Open sureshkannaiyan opened 4 months ago

sureshkannaiyan commented 4 months ago

Hello There, Im getting the below error while executing cmake -G "Visual Studio 16 2019" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/sures/vcpkg/scripts/buildsystems/vcpkg.cmake"

C:\Users\sures\YDLidar-SDK\build>cmake -G "Visual Studio 16 2019" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/sures/vcpkg/scripts/buildsystems/vcpkg.cmake" CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.

CMake Error at CMakeLists.txt:3 (project): Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!

In my windows11 PC, I've already installed visual studio 2019 community version, still it throws the error