原始文献 / 论坛帖 / bitcoind without wxWidgets
bitcoind without wxWidgets
Bitcointalk · 2010-07-26 17:23:33 UTC
我移除了 bitcoind 中最后几个 wxBase 依赖。
现在 bitcoind 在 SVN rev 112 中无需 wxWidgets 或 wxBase 即可编译。
main(int argc, char* argv[]) 已加入 init.cpp。CMyApp 和 Startup 文件夹相关的代码移到了 ui.cpp。bitcoind 不再链接 ui.cpp 和 uibase.cpp。
makefile 用 -DGUI 控制是否使用图形界面。
我已在 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.
