SN-1667 已核对来源,附原文与上下文。
我替换掉了 bitcoind 里最后几个 wxBase 依赖。
I replaced the last of the few wxBase dependencies in bitcoind.
bitcoind 现在在 SVN rev 112 里不依赖 wxWidgets 或 wxBase 就能编译。
bitcoind now compiles without wxWidgets or wxBase in SVN rev 112.
main(int argc, char* argv[]) 加进了 init.cpp。CMyApp 和启动文件夹的东西挪到了 ui.cpp。bitcoind 不链接 ui.cpp 和 uibase.cpp。
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.
makefile 用 -DGUI 控制是否使用 GUI。
The makefiles have -DGUI to control whether the GUI is used.
我测试编译了 MinGW、VC 和 Ubuntu。不知道有没有弄坏 Mac OSX 构建,需要有人检查一下。
I test compiled MinGW, VC and Ubuntu. I don't know if I broke the Mac OSX build, someone will need to check that.