tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

The following paths were examined for Visual Studio instances: #3068

Closed romaoatm closed 1 month ago

romaoatm commented 1 month ago

PS D:\td\vcpkg> ./vcpkg.exe install gperf:x64-windows openssl:x64-windows zlib:x64-windows Computing installation plan... The following packages will be built and installed: gperf:x64-windows -> 3.1#6 openssl:x64-windows -> 3.1.4#1

image

levlam commented 1 month ago

Check that you install Visual Studio with C++ support.

romaoatm commented 1 month ago

Check that you install Visual Studio with C++ support.

The thing is that I have it installed with C++

levlam commented 1 month ago

What is the size of the file "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"?

romaoatm commented 1 month ago

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\

image

G4v412345 commented 1 month ago

I faced the same problem, have you found a solution yet? if I find it sooner I will share it with you

levlam commented 1 month ago

The content of the directory is as expected. This is a vcpkg issue, which is very likely to be caused by an incomplete MSVC installation. Check that the following components were selected during MSVC installation:

The last item in the list is the most common source of vcpkg fails, so I would check for it first.

romaoatm commented 1 month ago

The content of the directory is as expected. This is a vcpkg issue, which is very likely to be caused by an incomplete MSVC installation. Check that the following components were selected during MSVC installation: - Windows Universal C Runtime - C++ core features - Visual Studio Build tools: * MSVC v143 - VS 2022 C++ x64/x86 build tools - MSBuild - Windows SDK - English language Pack

The last item in the list is the most common source of vcpkg fails, so I would check for it first.

I'll try now

romaoatm commented 1 month ago

I faced the same problem, have you found a solution yet? if I find it sooner I will share it with you

try what the person above wrote

Gava12345 commented 1 month ago

I installed everything again, only putting in the components mentioned above. The problem, for me personally, was not resolved

Gava12345 commented 1 month ago

Personally, I encounter this kind of problem after using the command: git checkout cd5e746ec203c8c3c61647e0886a8df8c1e78e41, but skipping it, the subsequent build still does not succeed

romaoatm commented 1 month ago

The content of the directory is as expected. This is a vcpkg issue, which is very likely to be caused by an incomplete MSVC installation. Check that the following components were selected during MSVC installation: - Windows Universal C Runtime - C++ core features - Visual Studio Build tools: * MSVC v143 - VS 2022 C++ x64/x86 build tools - MSBuild - Windows SDK - English language Pack

The last item in the list is the most common source of vcpkg fails, so I would check for it first.

image image image image

romaoatm commented 1 month ago

The content of the directory is as expected. This is a vcpkg issue, which is very likely to be caused by an incomplete MSVC installation. Check that the following components were selected during MSVC installation: - Windows Universal C Runtime - C++ core features - Visual Studio Build tools: * MSVC v143 - VS 2022 C++ x64/x86 build tools - MSBuild - Windows SDK - English language Pack

The last item in the list is the most common source of vcpkg fails, so I would check for it first.

we can contact you via telegram? My username: stromanill

levlam commented 1 month ago

@romaoatm Could you also install build tools for MSVC versions 142, 141 and 140?

Gava12345 commented 1 month ago

I found the solution. Just skip the step git checkout cd5e746ec203c8c3c61647e0886a8df8c1e78e41, and everything will be fine

romaoatm commented 1 month ago

I found the solution. Just skip the step git checkout cd5e746ec203c8c3c61647e0886a8df8c1e78e41, and everything will be fine

Thank you very much, I couldn't install TDLib for a whole week

Gava12345 commented 1 month ago

I found the solution. Just skip the step git checkout cd5e746ec203c8c3c61647e0886a8df8c1e78e41, and everything will be fine

Thank you very much, I couldn't install TDLib for a whole week

Please)