question

leemiyoung-4871 avatar image
0 Votes"
leemiyoung-4871 asked ·

I want a create cmake linux project in Visual studio, but there is an error "can not find cmake executable in /usr/bin/cmake". But I installed cmake in /usr/local/bin/cmake in my linux machine. how do I have to fix it


I want a create cmake linux project in Visual studio, but there is an error "can not find cmake executable file in /usr/bin/cmake".

But I installed cmake in /usr/local/bin/cmake in my linux machine.

how do I have to fix it ?






azure-active-directory
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MalleswarReddy avatar image
0 Votes"
MalleswarReddy answered ·

Hi,

Have you configured CMake settings for Linux ?

Please check in this link "Configure CMake settings for Linux"
https://docs.microsoft.com/es-mx/cpp/linux/cmake-linux-project?view=vs-2019

Regards,
Eshwar

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thank you. I solved the problem.
I changed "cmakeExecutable" field in CMakeSettings.json file.

0 Votes 0 ·