You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.
Read more about vcpkg telemetry at docs/about/privacy.md
Computing installation plan...
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
d----- 12/11/2022 6:24 PM build
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
when i look at it it says
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
Error: could not load cache
dir : Cannot find path 'E:\telegram\td\tdlib' because it does not exist.
At line:16 char:1
dir td/tdlib
+ CategoryInfo : ObjectNotFound: (E:\telegram\td\tdlib:String) [Get-ChildItem], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
is there a fix?
how do i fix this? this everything of powershell
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\TheEzraGamer> e: PS E:> cd PS E:> cd telegram PS E:\telegram> git clone https://github.com/tdlib/td.git
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 1b1ae50e1 [vcpkg-tools] update cmake and git (windows only) (#22985) Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2022-02-24/vcpkg.exe -> E:\telegram\td\vcpkg\vcpkg.exe... done. Validating signature... done.
Telemetry
vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics, passing --disable-metrics to vcpkg on the command line, or by setting the VCPKG_DISABLE_METRICS environment variable.
Read more about vcpkg telemetry at docs/about/privacy.md Computing installation plan... CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in
d8187afd-ea4a-4fc3-9aa4-a6782e1ed9af c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_TARGET_ARCHITECTURE=x64 VCPKG_CMAKE_SYSTEM_NAME= VCPKG_CMAKE_SYSTEM_VERSION= VCPKG_PLATFORM_TOOLSET= VCPKG_PLATFORM_TOOLSET_VERSION= VCPKG_VISUAL_STUDIO_PATH= VCPKG_CHAINLOAD_TOOLCHAIN_FILE= VCPKG_BUILD_TYPE= VCPKG_LIBRARY_LINKAGE=dynamic VCPKG_CRT_LINKAGE=dynamic e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_PUBLIC_ABI_OVERRIDE= VCPKG_ENV_PASSTHROUGH= VCPKG_ENV_PASSTHROUGH_UNTRACKED= VCPKG_LOAD_VCVARS_ENV= VCPKG_DISABLE_COMPILER_TRACKING= e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f 8c504940-be29-4cba-9f8f-6cd83e9d87b7 d8187afd-ea4a-4fc3-9aa4-a6782e1ed9af c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_TARGET_ARCHITECTURE=x64 VCPKG_CMAKE_SYSTEM_NAME= VCPKG_CMAKE_SYSTEM_VERSION= VCPKG_PLATFORM_TOOLSET= VCPKG_PLATFORM_TOOLSET_VERSION= VCPKG_VISUAL_STUDIO_PATH= VCPKG_CHAINLOAD_TOOLCHAIN_FILE= VCPKG_BUILD_TYPE= VCPKG_LIBRARY_LINKAGE=dynamic VCPKG_CRT_LINKAGE=dynamic e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_PUBLIC_ABI_OVERRIDE= VCPKG_ENV_PASSTHROUGH= VCPKG_ENV_PASSTHROUGH_UNTRACKED= VCPKG_LOAD_VCVARS_ENV= VCPKG_DISABLE_COMPILER_TRACKING= e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f 8c504940-be29-4cba-9f8f-6cd83e9d87b7 d8187afd-ea4a-4fc3-9aa4-a6782e1ed9af c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_TARGET_ARCHITECTURE=x64 VCPKG_CMAKE_SYSTEM_NAME= VCPKG_CMAKE_SYSTEM_VERSION= VCPKG_PLATFORM_TOOLSET= VCPKG_PLATFORM_TOOLSET_VERSION= VCPKG_VISUAL_STUDIO_PATH= VCPKG_CHAINLOAD_TOOLCHAIN_FILE= VCPKG_BUILD_TYPE= VCPKG_LIBRARY_LINKAGE=dynamic VCPKG_CRT_LINKAGE=dynamic e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_PUBLIC_ABI_OVERRIDE= VCPKG_ENV_PASSTHROUGH= VCPKG_ENV_PASSTHROUGH_UNTRACKED= VCPKG_LOAD_VCVARS_ENV= VCPKG_DISABLE_COMPILER_TRACKING= e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f 8c504940-be29-4cba-9f8f-6cd83e9d87b7 d8187afd-ea4a-4fc3-9aa4-a6782e1ed9af c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_TARGET_ARCHITECTURE=x64 VCPKG_CMAKE_SYSTEM_NAME= VCPKG_CMAKE_SYSTEM_VERSION= VCPKG_PLATFORM_TOOLSET= VCPKG_PLATFORM_TOOLSET_VERSION= VCPKG_VISUAL_STUDIO_PATH= VCPKG_CHAINLOAD_TOOLCHAIN_FILE= VCPKG_BUILD_TYPE= VCPKG_LIBRARY_LINKAGE=dynamic VCPKG_CRT_LINKAGE=dynamic e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_PUBLIC_ABI_OVERRIDE= VCPKG_ENV_PASSTHROUGH= VCPKG_ENV_PASSTHROUGH_UNTRACKED= VCPKG_LOAD_VCVARS_ENV= VCPKG_DISABLE_COMPILER_TRACKING= e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f 8c504940-be29-4cba-9f8f-6cd83e9d87b7 d8187afd-ea4a-4fc3-9aa4-a6782e1ed9af c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_TARGET_ARCHITECTURE=x64 VCPKG_CMAKE_SYSTEM_NAME= VCPKG_CMAKE_SYSTEM_VERSION= VCPKG_PLATFORM_TOOLSET= VCPKG_PLATFORM_TOOLSET_VERSION= VCPKG_VISUAL_STUDIO_PATH= VCPKG_CHAINLOAD_TOOLCHAIN_FILE= VCPKG_BUILD_TYPE= VCPKG_LIBRARY_LINKAGE=dynamic VCPKG_CRT_LINKAGE=dynamic e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f c35112b6-d1ba-415b-aa5d-81de856ef8eb VCPKG_PUBLIC_ABI_OVERRIDE= VCPKG_ENV_PASSTHROUGH= VCPKG_ENV_PASSTHROUGH_UNTRACKED= VCPKG_LOAD_VCVARS_ENV= VCPKG_DISABLE_COMPILER_TRACKING= e1e74b5c-18cb-4474-a6bd-5c1c8bc81f3f 8c504940-be29-4cba-9f8f-6cd83e9d87b7
Mode LastWriteTime Length Name
d----- 12/11/2022 6:24 PM build CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in
CMake Error: Error executing cmake::LoadCache(). Aborting.
Error: could not load cache dir : Cannot find path 'E:\telegram\td\tdlib' because it does not exist. At line:16 char:1
PS E:\telegram>
when i look at it it says CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in
CMake Error: Error executing cmake::LoadCache(). Aborting.
Error: could not load cache dir : Cannot find path 'E:\telegram\td\tdlib' because it does not exist. At line:16 char:1