使用 macports 安装多个活动变体

发布于 2024-08-22 14:18:35 字数 296 浏览 5 评论 0原文

我正在使用 macports 来安装 wxWidgets。我想要安装该库的发布版本和调试版本我使用 macports 通过运行 sudo port install wxwidgets 来安装发布版本,然后使用 sudo port install wxwidgets +debug > 安装调试版本。当我运行portinstalledwxwidgets时,它显示它们都已安装,但只有其中一个处于活动状态。当我运行 wx-config 时,它只显示标记为活动的那个。有没有办法让发布和调试都处于活动状态,以便 wx-config 同时了解这两个变体?

I am using macports to install wxWidgets. I would like both the release and debug version of the library installed I used macports to install the release version by running sudo port install wxwidgets, and then used sudo port install wxwidgets +debug to install the debug variant. When I run port installed wxwidgets, it shows them both installed, but only one of them is active. When I run wx-config, it only shows the one that is marked as active. Is there a way to get both release and debug as active so that wx-config knows about both variants at the same time?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

并安 2024-08-29 14:18:35

wxWidgets 2.9 没有解决这个问题吗?调试版本和发布版本是相同的吗?

除此之外,或者如果您使用的是早期版本,我真的建议您自己构建 wxWidgets,一次用于调试,一次用于发布。我曾经必须构建大量不同的变体(发布、调试、unicode 以及这些的任何组合),然后将 wxconfig 挂钩到我的构建过程中(就像你应该做的那样),或者将我的搜索路径指向正确的文件夹在我的 Xcode 项目中。

Didn't that get fixed with wxWidgets 2.9? Debug and release builds are the same?

Beyond that, or if you're on an earlier version, I REALLY suggest building wxWidgets yourself, once for debug and once for release. I used to have to build a ton of different variants (release, debug, unicode, and whatever combinations of those) and either hook wxconfig into my build process (like you're supposed to), or point my search paths at the right folder in my Xcode project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文