原始文献 / 论坛帖 / Re: Command Line and JSON-RPC
Re: Command Line and JSON-RPC
Bitcointalk · 2010-02-26 23:48:44 UTC
AuthorSatoshi Nakamoto
TitleRe: Command Line and JSON-RPC
Date2010-02-26 23:48:44 UTC
ForumBitcointalk · 原文
你用的是 wxWidgets 2.9.0 吗?我不建议用 2.9.0 之外的任何版本。
看起来 wx 头文件(arrstr.h)里引用了 wxBase 之外的东西。
把 bitcoin 的 makefile 里 -D__WXDEBUG__ 去掉应该就能解决。
如果还不行,而你只想先把它跑起来,可以编辑 wxWidgets 的 include/wx/arrstr.h 第 167 行,把 wxASSERT_MSG 那行注释掉。
英文原文
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.
