Skip to content

不依赖 wxWidgets 的 bitcoind ​

原始发布页

打开来源页面
查看 1 个交叉存档

我替换掉了 bitcoind 中仅剩的几个 wxBase 依赖项。

从 SVN rev 112 开始,bitcoind 现在无需 wxWidgets 或 wxBase 即可编译。

main(int argc, char* argv[]) 已添加到 init.cpp。CMyApp 和 Startup 文件夹相关内容已移至 ui.cpp。bitcoind 不会链接 ui.cpp 和 uibase.cpp。

makefile 使用 -DGUI 来控制是否使用 GUI。

我测试编译了 MinGW、VC 和 Ubuntu。我不知道是否破坏了 Mac OSX 的构建,需要有人检查一下。

英文原文 ​

展开英文原文

I replaced the last of the few wxBase dependencies in bitcoind.

bitcoind now compiles without wxWidgets or wxBase in SVN rev 112.

main(int argc, char* argv[]) is added to init.cpp. CMyApp and the Startup folder stuff are moved to ui.cpp. ui.cpp and uibase.cpp aren't linked by bitcoind.

The makefiles have -DGUI to control whether the GUI is used.

I test compiled MinGW, VC and Ubuntu. I don't know if I broke the Mac OSX build, someone will need to check that.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。