Well in the package.cpath i already copied all the dlls (so there is 
iupcontrols.dll and iupluacontrols51.dll)but it seems the dll can't be loaded.
 

    Le lundi 2 avril 2018 à 16:21:46 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
  No, the iupcontrols library depends on the CD main library. Maybe you only 
copied IUP files. You can copy it from the tools package you also downloaded.
Best,Scuri

2018-04-02 11:10 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 To check if it worked, i tried to run examples from the "doc" package. The 
listdialog.lua file worked.But the matrix.lua didn't because "error loading 
iupluacontrols from iupluacontrols51.dll"Could it be a related/similar problem 
? 

    Le lundi 2 avril 2018 à 14:09:14 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Hi,
  That's not necessary. It was a detail in the proxy build. I fixed and rebuild 
it. Please download again from the same place:
http://webserver2.tecgraf.puc- rio.br/~scuri/tmp/lua5.1_proxy .zip

  Again, rename it lua5.1.dll and replace the old one.
  Please, let me know if it works.
Best,Scuri

2018-04-01 18:46 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

More precisely : on luapower:  you can take the "all in one" download link, and 
run with the /bin/mingx64/luajit.exe interpreter. And on luajit official 
website : it's the luajit2.1.0-beta3Mabe i should try with the stable version 
2.0.5 ? I See that tomorrow.Johann
 

    Le dimanche 1 avril 2018 à 20:41:37 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   Link, I mean an URL. From which site you downloaded lua jit. 
  I'll make a few tests here. 
Best,Scuri

2018-04-01 14:36 GMT-03:00 Johann Philippe <johannphili...@yahoo.fr>:

 
I'm not sure to understand what do you mean with "what's the link" ? I first 
tried it in the full luapower package (luapower-all-master/bin/ mingw64), then 
i also tried with a standard luajit build with mingw64. In both case i put the 
lua5.1.dll (the one you sent me earlier) in the same folder than lua51.dll, and 
the packages for windows 64 mingw (standard package and lua51 package) in the 
cpath folder. Both times, the error dialog occurs when i require 'iuplua'

Maybe there is another thing to do that i'm missing ? Do you mean there is a 
link to do between luajit and IUP ? 

ThanksJohann



    Le dimanche 1 avril 2018 à 18:58:43 UTC+2, Antonio Scuri 
<antonio.sc...@gmail.com> a écrit :  
 
   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.cpathAnd it returns 
an error dialog with "The procedure entry point luaD_growstack could not be 
located in the dynamic link libraryF:/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 ? 
ThanksJohann
    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
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

Reply via email to