Bitcointalk · bitcoind without wxWidgets

中本聪,2010 年 7 月 26 日

SN-1667 已核对来源,附原文与上下文。

阅读语言
中文译文

我替换掉了 bitcoind 里最后几个 wxBase 依赖。

bitcoind 现在在 SVN rev 112 里不依赖 wxWidgets 或 wxBase 就能编译。

main(int argc, char* argv[]) 加进了 init.cpp。CMyApp 和启动文件夹的东西挪到了 ui.cpp。bitcoind 不链接 ui.cpp 和 uibase.cpp。

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

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

ORIGINAL · 英文原文
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.
上下文
← 上一条 SN-1667 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-1667