Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake error #46

Open
sureshkannaiyan opened this issue Feb 22, 2024 · 0 comments
Open

cmake error #46

sureshkannaiyan opened this issue Feb 22, 2024 · 0 comments

Comments

@sureshkannaiyan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant