lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, May 17, 2017 at 1:24 PM, Jonathan Goble <jcgoble3@gmail.com> wrote:
> On Wed, May 17, 2017 at 12:09 PM Russell Haley <russ.haley@gmail.com> wrote:
>>
>> On Wed, May 17, 2017 at 5:37 AM, Dirk Laurie <dirk.laurie@gmail.com>
>> wrote:
>> > Well, I don't have Windows 10, but a quick look at Google turns up
>> > "One quick fix is to copy the dll into the same directory as your
>> > program."
>> > That's the one I would try first (quick fixes always grab me).
>> >
>> > 2017-05-17 9:12 GMT+02:00 Russell Haley <russ.haley@gmail.com>:
>> >> So I'm starting to see the complications now. The 64 bit binary "just
>> >> works" on Window 10, but the 32 bit seems to still require mingw
>> >> (Error message "The program can't start because libgcc_s_dw2-1.dll is
>> >> missing from your computer").
>> >>
>> >
>> Thanks, I'll look into that, but my gut feeling is the dll doesn't
>> help for running other libraries (I don't know much about mingw yet).
>> Chaining the mingw installer shouldn't be too difficult. My hesitation
>> is two fold:
>>
>> 1) Most "installers" from the *nix world I have found so far do not
>> use the MSI format (It looks like lr4win is the exception). I will be
>> testing this tonight potentially
>> 2) That introducing mingw means that the "native" development IDE for
>> Windows still can't be used (I suppose Eclipse with CDT is an option).
>>
>> VS Studio is a constant on many developer computers. It makes sense to
>> me that if Windows developers are a potential target audience, giving
>> them access to the sources through the "native" toolset would be a
>> good idea now that it's possible.
>>
>> Russ
>
>
> Have you tried the VS compilation script provided by PUC-Lua? It's not in
> the main tarball, but can be downloaded from the 5.2 extras page. [1] I
> think it would probably would work fine for 5.3 with a few modifications
> (namely changing "lua52" to "lua53", and adding lbitlib.obj and lutf8lib.obj
> to lines 22 and 23).
>
> [1] https://www.lua.org/extras/5.2/

I was not even aware of it's existence! Thank you.