Bitcointalk

64bit support

中本聪 · 2010 年 1 月 29 日

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

阅读语言

我提交了 64 位编译的修复,以及一些支持 wxWidgets 2.9.0 的修复。

I committed a fix for 64-bit compile and some fixes to support wxWidgets 2.9.0.

serialize.h 里有一个 min(sizeof()) 的编译错误,我为 64 位修掉了。其余 64 位编译错误都出在 wxWidgets 2.8.9 上,所以我开始做 wxWidgets 2.9.0 的支持。

There was one compile error in serialize.h with min(sizeof()) that I fixed for 64-bit. The rest of the 64-bit compile errors I was getting were in wxWidgets 2.8.9, so I started working on supporting wxWidgets 2.9.0.

wxWidgets 2.9.0 是 UTF-8 的。我们一直在用 ANSI 版的 wxWidgets 2.8.9,就是在等 wxWidgets 的 UTF-8 支持。

wxWidgets 2.9.0 is UTF-8. We've been using the ANSI version of wxWidgets 2.8.9 in anticipation of wxWidgets UTF-8 support.

我在 64 位 Ubuntu 9.10 Karmic 上编译并运行成功。

I compiled and ran on 64-bit Ubuntu 9.10 Karmic.

我想剩下的唯一 bug 是状态数字显示混乱。原因不明,我怀疑与 UTF-8 有关,但想不出怎么会。还没深究。

I think the only bug left is where the status number is mashed up. I'm not sure why, I have to suspect it's a UTF-8 thing, but no idea how that could happen. Haven't looked into it.

build-unix.txt 已更新,SVN 上有两个 makefile:

build-unix.txt is updated and two makefiles on SVN:

makefile.unix.wx2.8

makefile.unix.wx2.8

makefile.unix.wx2.9

makefile.unix.wx2.9

遗憾的是,我们用的两个版本的 wxWidgets 都还没有 debian 包。系统里只有 wchar("unicode")版的 wxWidgets 2.8,那很麻烦,因为 wchar 版 wxString 无法转换为 std::string。我们要么用 ANSI 版 wxWidgets 2.8,要么用 wxWidgets 2.9。所以你还是得自己下载构建。

Unfortunately there's still no debian package for either version of wxWidgets we use. They only have the wchar ("unicode") version of wxWidgets 2.8, which is a disaster because wchar wxString doesn't convert to std::string. We use either ANSI wxWidgets 2.8, or wxWidgets 2.9. So you still have to get it and build it yourself.

上下文
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-0073

阅读字号

选择适合你的字号,之后阅读会继续使用。