Closed ssg closed 9 months ago
I have the same problem ,Have you solved it already? ![Uploading 3.png…]()
I have the same problem ,Have you solved it already?
![Uploading 3.png…]()
Please read my previous reply
Cannot open include file: 'vpx/vp8cx.h': No such file or directory
who help me ?
Cannot open include file: 'vpx/vp8cx.h': No such file or directory
who help me ?
Cannot open include file: 'vpx/vp8cx.h': No such file or directory
who help me ?
- Run tdesktop\Telegram\build\prepare\win.bat in x64 Native Tools Command Prompt for VS 2022.bat
- When building to libvpx, you may get an error like you did. Don’t worry, see the next step.
- Open vpx.sln (should be called this) in BuildPath\Libraries(may have win64, depending)\libvpx and build it
- Run tdesktop\Telegram\build\prepare\win.bat again, and an error will still be reported in libvpx. At this time, press s to skip to continue building the subsequent lib
- When building to tg_owt, an error will still be reported: some file in the vpx directory is missing. At this time, you need to open the libvpx folder, copy the vpx folder inside, and then run tdesktop\Telegram\build\prepare\win.bat again, and press r when you get to tg_owt. It will delete all the files in the tg_owt directory. After deleting, you can put the copied vpx folder in it.
- Then follow the Build instructions to start Build the project
- When you Select Telegram project and press Build > Build Telegram (Debug and Release configurations), it will report an error that a library in the local directory is missing. You can just put the result of the second step of the build in the directory it mentioned.
I have do this ,copy libvpx source code ,but display new problem
Cannot open include file: 'vpx/vp8cx.h': No such file or directory
who help me ?
- Run tdesktop\Telegram\build\prepare\win.bat in x64 Native Tools Command Prompt for VS 2022.bat
- When building to libvpx, you may get an error like you did. Don’t worry, see the next step.
- Open vpx.sln (should be called this) in BuildPath\Libraries(may have win64, depending)\libvpx and build it
- Run tdesktop\Telegram\build\prepare\win.bat again, and an error will still be reported in libvpx. At this time, press s to skip to continue building the subsequent lib
- When building to tg_owt, an error will still be reported: some file in the vpx directory is missing. At this time, you need to open the libvpx folder, copy the vpx folder inside, and then run tdesktop\Telegram\build\prepare\win.bat again, and press r when you get to tg_owt. It will delete all the files in the tg_owt directory. After deleting, you can put the copied vpx folder in it.
- Then follow the Build instructions to start Build the project
- When you Select Telegram project and press Build > Build Telegram (Debug and Release configurations), it will report an error that a library in the local directory is missing. You can just put the result of the second step of the build in the directory it mentioned.
I have do this ,copy libvpx source code ,but display new problem
I have followed this method ,but the same issue displaye
Steps to reproduce
Run
prepare\win.bat
after taking all recommended steps.Expected behaviour
Build should succeed.
Actual behaviour
Build fails while building libvpx. The error message is:
The file
vp8cx.h
actually exists under%BuildPath%\Libraries\win64\libvpx\vpx
.Operating system
Windows 11 Pro 23H2
Version of Telegram Desktop
4.11.8
Installation source
Static binary from official website
Crash ID
No response
Logs
No response