Hi,

  The two packages are very different. First you need to know which LuaJit
you are using, 32 or 64 bits.

  From the first message it looks like you are using a 32 bit version, but
try to load a 64 bits DLL.

  From the second message it looks like other files are missing, like
iup.dll. Notice that these files must also be 32 bits or 64 bits
accordingly.

Best,
Scuri


Em qua, 17 de abr de 2019 às 06:22, Johann Philippe via Iup-users <
iup-users@lists.sourceforge.net> escreveu:

> As far as I know, there is no distribution of luajit compatible with lua
> 5.3. The last luajit distro i know is 5.1 so you should download the full
> iup package for lua5.1.
> Also, make sure your luajit interpreter is 64bit, (and your OS too).
>
> Le mardi 16 avril 2019 à 21:12:12 UTC+2, David Cuny <dc...@lanset.com> a
> écrit :
>
>
> I'm trying to run IUP using LuaJIT, but with no success.
>
> I've downloaded the library files* iup-3.26-Lua53_Win64_dll15_lib *and
> unzipped them into the same directory as the LuaJIT executable.
>
> At the head of my Lua script, I've got:
>
>
> *package.cpath = package.cpath .. ".\\?53.dll;"require("iuplua")*
>
> On launching LuaJIT, I get the error:
>
> *%1 is not a valid Win32 application.*
>
> Using the library* iup-3.26-Lua53_Win32_dll15_lib*, I get the error:
>
>
> *error loading module 'iuplua' from file '.\iuplua53.dll':        The
> specified module could not be found.*
>
> What's the proper way to run IUP from LuaJIT?
>
> Thanks!
>
> -- David Cuny
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to