how to build 64bit xapian using MSVC2017?

Olly Betts olly at survex.com
Tue Apr 3 20:41:33 BST 2018


On Tue, Apr 03, 2018 at 03:21:24PM +0800, 李澍 wrote:
> My xapian version is 1.2.8.
> Need I upgrade it to 1.4 if I want to build it with MSVC2017 x64?

Yes, you will need to upgrade (and I said as much in my original reply).
1.2.x is no longer supported, and 1.2.8 is far from even being the
latest 1.2.x release.

Once 1.4.6 is released that should work out of the box.  Meanwhile
snapshots from here should work:

https://oligarchy.co.uk/xapian/RELEASE/1.4/

Incidentally, the remote backend now works in the MSVS 2017 64-bit build
- the bug was some third party code which implements POSIX-compatible
readdir() was using long where it should have been using intptr_t.
Mingw worked OK because it provides its own readdir() so the buggy code
isn't used there.

Cheers,
    Olly



More information about the Xapian-discuss mailing list