[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Building for windows. Again.
- To: openldap-technical@openldap.org
- Subject: Re: Building for windows. Again.
- From: Kristoffer Sjögren <stoffe@gmail.com>
- Date: Thu, 19 Nov 2015 21:41:59 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=wAUbp50IaSDjk3/016yjJYBTuqIdL+13ageN+nh1OPE=; b=wnht4jkUQoUi5ICj90f+lYJeP4FV1Yo+MftpVHmeHdSk/h9kAVR/Zl6gIaIGe/LFhG C2rMGfiY0/f+FeX1/ZZE3v8ARcJYs6c+LW7gXBv+6dGzV+wpcL6fi7HrKiozbLFBTdd0 G6IJ0Up97u8SPgNmUjIQ3YC1sqmmA0Iq+I6+IEvJkA8ohu+nTdscp+4s5OiTsrFX/sPA 2PqmTP2rfxtOwunsn2SL7MR5FMkJ804R1/Tj/jHD+IfX0v3j4R57MiuClpS5VyoINc+i 39CvPtLib99ycolE5Zqn+viqydmX8QGiecDAOp6hfplv/e9ehReo5VlRDO0Q0PbL4bPZ e12g==
- In-reply-to: <CADSBNAijT-p_cum1btC5kXTPUb2v0LkuL2N2K96iTDTJxEJJwA@mail.gmail.com>
- References: <CADSBNAijT-p_cum1btC5kXTPUb2v0LkuL2N2K96iTDTJxEJJwA@mail.gmail.com>
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