Type of issue
Code doesn't work
Description
Hi,
When following the instructions exactly as written, the code does not compile on windows with the following message:
[cmake] -- Running vcpkg install - done
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake] No CMAKE_C_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
[cmake] the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake] No CMAKE_CXX_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
[cmake] to the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
Page URL
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vscode?pivots=shell-powershell
Content source URL
https://github.com/MicrosoftDocs/vcpkg-docs/blob/main/vcpkg/get_started/get-started-vscode.md
Document Version Independent Id
6402b87a-b33e-ebf5-01d2-a2d1115d6f2b
Platform Id
5e6d0869-b433-b864-71c3-b915a2cf786a
Article author
@data-queue
Metadata
- ID: 6402b87a-b33e-ebf5-01d2-a2d1115d6f2b
- PlatformId: 5e6d0869-b433-b864-71c3-b915a2cf786a
- Service: vcpkg
Type of issue
Code doesn't work
Description
Hi,
When following the instructions exactly as written, the code does not compile on windows with the following message:
[cmake] -- Running vcpkg install - done
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake] No CMAKE_C_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
[cmake] the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] CMake Error at CMakeLists.txt:3 (project):
[cmake] No CMAKE_CXX_COMPILER could be found.
[cmake]
[cmake] Tell CMake where to find the compiler by setting either the environment
[cmake] variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
[cmake] to the compiler, or to the compiler name if it is in the PATH.
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
Page URL
https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vscode?pivots=shell-powershell
Content source URL
https://github.com/MicrosoftDocs/vcpkg-docs/blob/main/vcpkg/get_started/get-started-vscode.md
Document Version Independent Id
6402b87a-b33e-ebf5-01d2-a2d1115d6f2b
Platform Id
5e6d0869-b433-b864-71c3-b915a2cf786a
Article author
@data-queue
Metadata