Bitcointalk · Command Line and JSON-RPC

中本聪,2010 年 2 月 26 日

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

阅读语言
中文译文

你用的是 wxWidgets 2.9.0 吗?我建议除了 2.9.0 别用其他版本。

看起来是 wx 头文件(arrstr.h)里引用了 wxBase 之外的某个东西。

从 bitcoin 的 makefile 里去掉 -D__WXDEBUG__ 大概就能解决。

如果那样还不行、而你只求能跑起来,可以编辑 wxWidgets 的 include/wx/arrstr.h 第 167 行,把 wxASSERT_MSG 注释掉。

ORIGINAL · 英文原文
Are you using wxWidgets 2.9.0?  I don't recommend using anything other than 2.9.0.

It looks like they've got a reference in the wx headers (arrstr.h) to something outside of wxBase.

Removing -D__WXDEBUG__ from bitcoin's makefile would probably solve it.

If that doesn't work and you just want to get it working, you could edit wxWidgets include/wx/arrstr.h, line 167 and comment out the wxASSERT_MSG.
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0384