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

Re: Building for windows. Again.



That's the thing, the build doesn't complain about anything missing.
But the binary seems broken because tests fail randomly.

A user tried the generated binary on his machine and it worked but also said...

"Hm, almost, the database file is no longer put to the requested
directory, and its name is totally garbled. It finds it consistently
though, and the contents are correct."

https://github.com/deephacks/lmdbjni/issues/48

On Thu, Nov 19, 2015 at 9:57 PM, Howard Chu <hyc@symas.com> wrote:
> Kristoffer Sjögren 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?
>
>
> I see you have one already - what is wrong with it, what definitions are
> missing?
>
>>
>> Cheers,
>> -Kristoffer
>>
>>
>> [1] https://github.com/deephacks/lmdbjni/tree/master/lmdbjni-win64/headers
>>
>>
>
>
> --
>   -- Howard Chu
>   CTO, Symas Corp.           http://www.symas.com
>   Director, Highland Sun     http://highlandsun.com/hyc/
>   Chief Architect, OpenLDAP  http://www.openldap.org/project/