- Using with Visual Studio
In order to generate Visual Studio projects, Meson needs to know the settings of your installed version of Visual Studio. The only way to get this information is to run Meson under the Visual Studio Command Prompt.
You can always find the Visual Studio Command Prompt by searching from the Start Menu. However, the name is different for each Visual Studio version. With Visual Studio 2019, look for “x64 Native Tools Command Prompt for VS 2019”. The next steps are the same as always:
cd into your source directory
本文介绍了如何使用Meson和Visual Studio 2022的x86环境构建OpenH264库,包括遇到的dll生成问题和解决步骤。通过Meson setup命令指定--backend vs2022,发现直接构建不会生成dll和build.ninja文件,导致静态库无法输出。在解决问题后,成功链接并生成了openh264-6.dll。
订阅专栏 解锁全文
781

被折叠的 条评论
为什么被折叠?



