[将wxWidget安装为Vcpkg的静态库

问题描述 投票:0回答:1

我正在使用Visual Studio 2019

我点击了此链接,使用vcpkg install wxwidgets安装wxWidgethttps://www.wxwidgets.org/blog/2019/01/wxwidgets-and-vcpkg/

并阅读此链接

https://computingonplains.wordpress.com/using-visual-studio-2017-to-build-wxwidgets/

和此

https://devblogs.microsoft.com/cppblog/vcpkg-updates-static-linking-is-now-available/

使用vcpkg]安装wxWidget之后的问题,结果是动态库,我想将我的项目编译为静态库以在其他用户pc上运行exe文件。由于以下原因,我想从动态库编译更改为静态:在另一台PC上的用户会收到VCRUNTIME错误,因此当我读入时,他们必须安装VC ++运行时库

How to fix a missing vcruntime140 clr 400 dll error

问题摘要:vcpkg install wxwidgets结果是动态的lib配置,我需要安装静态的。

我正在使用Visual Studio 2019,我点击了此链接以使用vcpkg install wxwidgets https://www.wxwidgets.org/blog/2019/01/wxwidgets-and-vcpkg/安装wxWidget并阅读此链接https:// ...

visual-studio compilation shared-libraries wxwidgets
1个回答
1
投票

@@ MohmmedAlaa,

© www.soinside.com 2019 - 2024. All rights reserved.