[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Building for windows. Again.



The vcbuild file is found here [2]. Note that the project builds fine
but tests fail and succeed sporadically.

[2] https://github.com/deephacks/lmdbjni/blob/master/lmdbjni/src/main/native-package/vs2010.vcxproj

On Thu, Nov 19, 2015 at 9:27 PM, Kristoffer Sjögren <stoffe@gmail.com> wrote:
> Hi
>
> I'm trying to build LMDB with Java/JNI bindings with Visual C++
> Project Builder 9.00.30729 (vcbuild).
>
> Unfortunately, vcbuild don't ship with inttypes.h, stdint.h, or a sane
> ssize_t. So I searched around and found a few candidates [1] of
> inttypes.h and stdint.h that seems to be working for py-lmdb.
>
> However, unistd.h seems broken for windows - and the python guys use
> python.h instead.
>
> Any ideas where I might find a good unistd.h?
>
> Cheers,
> -Kristoffer
>
>
> [1] https://github.com/deephacks/lmdbjni/tree/master/lmdbjni-win64/headers