1

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?

4

1 回答 1

1

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

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

于 2010-02-19T23:03:14.633 回答