Hi,
The proxy you download also exports the Lua internal functions marked
with LUAI_FUNC. It seems that the lua51.dll you are using does not exports
those functions. That's weird, we already used IUP with Lua JIT before and
they work fine. But that was some time ago, maybe something has changed.
You can not use two different Lua implementations in the same project, so
you can not use the regular lua5.1.dll we provide along with your lua jit
files.
What's the link you are using for Lua JIT?
Best,
Scuri
2018-04-01 13:20 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:
> I put all the base package (dll) in my package.cpath folder, and also the
> lua5.1 package. Then i pasted the lua5.1_proxy (renamed lua5.1.dll) in the
> same folder than lua51.dll.
> Added "my/path/?51.dll" to package.cpath
> And it returns an error dialog with
> "The procedure entry point luaD_growstack could not be located in the
> dynamic link library
> F:/Logiciels/luajit/luapower-all-master/bin/mingw64/lua5.1.dll"
>
>
> Also tried with putting lua5.1.dll in the package.cpath folder, and it
> only returns in the console "iuplua51.dll
> the specified module couldn't be found"
>
> Any idea where is the issue from ?
>
> Johann
> Le dimanche 1 avril 2018 à 17:58:00 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
> The Lua DLLs are separated by Lua version. So in the same place you find
> the base package, there will be 3 folders, for lua 5.1, 5.3 and 5.3. in IUP
> Source Forge page, click on Files, then the IUP version, then Windows, then
> dynamic. Then the lua version.
>
> But you can also use the DLLs from the tools executable. Just copy from
> the package you already have.
>
> Best,
> Scuri
>
>
>
>
> Em dom, 1 de abr de 2018 12:12, Johann Philippe <johannphili...@yahoo.fr>
> escreveu:
>
> Also, another small misunderstanding. I could run IUP using the package of
> precompiled binaries (the one including lua5.1.exe etc), but for running
> with luajit, i don't understand what are the packages I have to download in
> order to put in my package.cpath folder. I think that precompiled dlls
> should be easier to run for me. But then which one download ? If i download
> the windows dynamic library, it contains the iup.dll, but not the
> iuplua51.dll, so where to find this one ?
>
> Thanks
> Johann
> Le dimanche 1 avril 2018 à 17:00:22 UTC+2, Johann Philippe <
> johannphili...@yahoo.fr> a écrit :
>
>
>
> Thanks,
>
> So the last one you sent was the right one ? (the one called
> lua5.1_proxy.dll).
> I guess i have to rename it lua5.1.dll and replace the old one with it ?
>
> Thanks a lot.
> Johann
> Le dimanche 1 avril 2018 à 15:32:23 UTC+2, Antonio Scuri <
> antonio.sc...@gmail.com> a écrit :
>
>
> Hi,
>
> You can obtain the 64 bit proxy DLL from this package:
>
> https://sourceforge.net/projects/luabinaries/files/5.
> 1.5/Tools%20Executables/lua-5.1.5_Win64_bin.zip/download
>
> The DLL is "lua5.1.dll", it should work with any Lua 5.1 version.
>
> Best,
> Scuri
>
>
>
> 2018-03-31 9:00 GMT-03:00 Johann Philippe via Iup-users <
> iup-users@lists.sourceforge.net>:
>
> Dear all,
> Sorry if i'm sending this mail to the wrong topic/object, i'm a newcomer
> in "sourceforge mailing lists" which i don't really understand.
>
> I'm currently trying to build IUP to use it with luajit x64 (would be
> great if it could work for windows and linux).
>
> I saw and older topic from 2016 where it's adviced to link a lua5.1.dll
> proxy to lua51.dll. But i couldn't download those files, since the link is
> dead. And i don't really know how to create a dll proxy, and what it should
> contain.
>
> So, my question is simple: what could be the best way to use IUP with
> luajit (x64) ?
>
> Thanking you in advance
>
> Johann Philippe
>
> ------------------------------ ------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ______________________________ _________________
> Iup-users mailing list
> Iup-users@lists.sourceforge. net <Iup-users@lists.sourceforge.net>
> https://lists.sourceforge.net/ lists/listinfo/iup-users
> <https://lists.sourceforge.net/lists/listinfo/iup-users>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users