IUP Cross Platform Gui Re: [FYI] ActiveState seems to be planning their own binary lua distribution

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

IUP Cross Platform Gui Re: [FYI] ActiveState seems to be planning their own binary lua distribution

Russell Haley


On Wed, Mar 21, 2018 at 1:17 PM, Milind Gupta <[hidden email]> wrote:

If you can live with the license date for Lua being incorrect, the current 1803a release has been working well for me. I'm using it to build a cross platform LuaRocks GUI in Qt: https://github.com/WinLua/BrokenGlass-PM with the help of the sol2 C++ wrapper.

That would be great. Did you consider IUP  for the GUI also from Tecgraf, which I find is excellent framework like Lua fully programmable in Lua. I have used it in quite a few of my projects now.

Sadly, I did not consider IUP.  The technology choice for the LuaRocks Gui has been largely driven by a career change. It's a C++ first solution on purpose. The abstraction from the stack that sol2 provides is sublime. 

I read the documents each time IUP comes up and marvel at it's simplicity. Are there any higher order libraries available that provide controls? I'm wondering about control sets analogous of the various libraries that have been created on top of Qt such as Blackberry Cascades, or  KDE Plasma? I forget the name of the one that was created for SailfishOS (was it lipstick?).

This is the kind of Lua first technology that should be championed by a Lua foundation. 

If only there were more hours in the day. :(

Russ

Milind

Reply | Threaded
Open this post in threaded view
|

Re: IUP Cross Platform Gui Re: [FYI] ActiveState seems to be planning their own binary lua distribution

Russell Haley
Hi Milind,

I've tried using your IUP binaries on Windows 10. I downloaded Win32_dll14 for use with Lua53. I'm using VS 2017 and I also  checked installed VC runtimes; I have VC 12.03 and 14.12 . Here is my command line from Powershell:

C:\Users\russh\lua\iup> ls


    Directory: C:\Users\russh\lua\iup


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2018-03-21  11:02 PM         255589 iuplua53.dll
-a----       2018-03-21  11:02 PM          24626 iupluacd53.dll
-a----       2018-03-21  11:02 PM          75134 iupluacontrols53.dll
-a----       2018-03-21  11:02 PM          33314 iupluagl53.dll
-a----       2018-03-21  11:02 PM          53320 iupluaglcontrols53.dll
-a----       2018-03-21  11:02 PM          29099 iupluaim53.dll
-a----       2018-03-21  11:02 PM          23012 iupluaimglib53.dll
-a----       2018-03-21  11:02 PM          25950 iupluaole53.dll
-a----       2018-03-21  11:02 PM         164018 iupluascripterdlg53.dll
-a----       2018-03-21  11:02 PM          25426 iupluatuio53.dll
-a----       2018-03-21  11:02 PM          42496 iuplua_mglplot53.dll
-a----       2018-03-21  11:02 PM          56368 iuplua_plot53.dll
-a----       2018-03-21  11:02 PM          34102 iuplua_scintilla53.dll
-a----       2018-03-21  11:02 PM          22840 libiuplua53.a
-a----       2018-03-21  11:02 PM           2098 libiupluacd53.a
-a----       2018-03-21  11:02 PM           3536 libiupluacontrols53.a
-a----       2018-03-21  11:02 PM           2098 libiupluagl53.a
-a----       2018-03-21  11:02 PM           2242 libiupluaglcontrols53.a
-a----       2018-03-21  11:02 PM           2098 libiupluaim53.a
-a----       2018-03-21  11:02 PM           1522 libiupluaimglib53.a
-a----       2018-03-21  11:02 PM           2120 libiupluaole53.a
-a----       2018-03-21  11:02 PM           3604 libiupluascripterdlg53.a
-a----       2018-03-21  11:02 PM           2140 libiupluatuio53.a
-a----       2018-03-21  11:02 PM           2212 libiuplua_mglplot53.a
-a----       2018-03-21  11:02 PM           2806 libiuplua_plot53.a
-a----       2018-03-21  11:02 PM           2242 libiuplua_scintilla53.a


C:\Users\russh\lua\iup> lua
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> package.cpath
C:\Program Files (x86)\WinLua\Lua\5.3\bin\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\..\lib\lua\5.3\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\loadall.dll;.\?.dll
> package.cpath = package.cpath .. ";.\\?53.dll;"
> package.cpath
C:\Program Files (x86)\WinLua\Lua\5.3\bin\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\..\lib\lua\5.3\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\loadall.dll;.\?.dll;.\?53.dll;
> l = require('iuplua')
error loading module 'iuplua' from file '.\iuplua53.dll':
        The specified module could not be found.

stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> l = require('iupLua')
error loading module 'iupLua' from file '.\iupLua53.dll':
        The specified module could not be found.

stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
>

Any help would be grand. 

Thanks!
Russ

On Wed, Mar 21, 2018 at 9:43 PM, Russell Haley <[hidden email]> wrote:


On Wed, Mar 21, 2018 at 1:17 PM, Milind Gupta <[hidden email]> wrote:

If you can live with the license date for Lua being incorrect, the current 1803a release has been working well for me. I'm using it to build a cross platform LuaRocks GUI in Qt: https://github.com/WinLua/BrokenGlass-PM with the help of the sol2 C++ wrapper.

That would be great. Did you consider IUP  for the GUI also from Tecgraf, which I find is excellent framework like Lua fully programmable in Lua. I have used it in quite a few of my projects now.

Sadly, I did not consider IUP.  The technology choice for the LuaRocks Gui has been largely driven by a career change. It's a C++ first solution on purpose. The abstraction from the stack that sol2 provides is sublime. 

I read the documents each time IUP comes up and marvel at it's simplicity. Are there any higher order libraries available that provide controls? I'm wondering about control sets analogous of the various libraries that have been created on top of Qt such as Blackberry Cascades, or  KDE Plasma? I forget the name of the one that was created for SailfishOS (was it lipstick?).

This is the kind of Lua first technology that should be championed by a Lua foundation. 

If only there were more hours in the day. :(

Russ

Milind


Reply | Threaded
Open this post in threaded view
|

Re: IUP Cross Platform Gui Re: [FYI] ActiveState seems to be planning their own binary lua distribution

aryajur
I usually download from here: https://sourceforge.net/projects/iup/files/3.24/Tools%20Executables/Lua53/
package:  iup-3.24-Lua53_Win32_bin.zip
This has a lot more libraries and also contains Canvas Draw and Image Manipulation libraries

Milind


On Fri, Mar 23, 2018 at 11:45 PM, Russell Haley <[hidden email]> wrote:
Hi Milind,

I've tried using your IUP binaries on Windows 10. I downloaded Win32_dll14 for use with Lua53. I'm using VS 2017 and I also  checked installed VC runtimes; I have VC 12.03 and 14.12 . Here is my command line from Powershell:

C:\Users\russh\lua\iup> ls


    Directory: C:\Users\russh\lua\iup


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2018-03-21  11:02 PM         255589 iuplua53.dll
-a----       2018-03-21  11:02 PM          24626 iupluacd53.dll
-a----       2018-03-21  11:02 PM          75134 iupluacontrols53.dll
-a----       2018-03-21  11:02 PM          33314 iupluagl53.dll
-a----       2018-03-21  11:02 PM          53320 iupluaglcontrols53.dll
-a----       2018-03-21  11:02 PM          29099 iupluaim53.dll
-a----       2018-03-21  11:02 PM          23012 iupluaimglib53.dll
-a----       2018-03-21  11:02 PM          25950 iupluaole53.dll
-a----       2018-03-21  11:02 PM         164018 iupluascripterdlg53.dll
-a----       2018-03-21  11:02 PM          25426 iupluatuio53.dll
-a----       2018-03-21  11:02 PM          42496 iuplua_mglplot53.dll
-a----       2018-03-21  11:02 PM          56368 iuplua_plot53.dll
-a----       2018-03-21  11:02 PM          34102 iuplua_scintilla53.dll
-a----       2018-03-21  11:02 PM          22840 libiuplua53.a
-a----       2018-03-21  11:02 PM           2098 libiupluacd53.a
-a----       2018-03-21  11:02 PM           3536 libiupluacontrols53.a
-a----       2018-03-21  11:02 PM           2098 libiupluagl53.a
-a----       2018-03-21  11:02 PM           2242 libiupluaglcontrols53.a
-a----       2018-03-21  11:02 PM           2098 libiupluaim53.a
-a----       2018-03-21  11:02 PM           1522 libiupluaimglib53.a
-a----       2018-03-21  11:02 PM           2120 libiupluaole53.a
-a----       2018-03-21  11:02 PM           3604 libiupluascripterdlg53.a
-a----       2018-03-21  11:02 PM           2140 libiupluatuio53.a
-a----       2018-03-21  11:02 PM           2212 libiuplua_mglplot53.a
-a----       2018-03-21  11:02 PM           2806 libiuplua_plot53.a
-a----       2018-03-21  11:02 PM           2242 libiuplua_scintilla53.a


C:\Users\russh\lua\iup> lua
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> package.cpath
C:\Program Files (x86)\WinLua\Lua\5.3\bin\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\..\lib\lua\5.3\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\loadall.dll;.\?.dll
> package.cpath = package.cpath .. ";.\\?53.dll;"
> package.cpath
C:\Program Files (x86)\WinLua\Lua\5.3\bin\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\..\lib\lua\5.3\?.dll;C:\Program Files (x86)\WinLua\Lua\5.3\bin\loadall.dll;.\?.dll;.\?53.dll;
> l = require('iuplua')
error loading module 'iuplua' from file '.\iuplua53.dll':
        The specified module could not be found.

stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
> l = require('iupLua')
error loading module 'iupLua' from file '.\iupLua53.dll':
        The specified module could not be found.

stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?
>

Any help would be grand. 

Thanks!
Russ

On Wed, Mar 21, 2018 at 9:43 PM, Russell Haley <[hidden email]> wrote:


On Wed, Mar 21, 2018 at 1:17 PM, Milind Gupta <[hidden email]> wrote:

If you can live with the license date for Lua being incorrect, the current 1803a release has been working well for me. I'm using it to build a cross platform LuaRocks GUI in Qt: https://github.com/WinLua/BrokenGlass-PM with the help of the sol2 C++ wrapper.

That would be great. Did you consider IUP  for the GUI also from Tecgraf, which I find is excellent framework like Lua fully programmable in Lua. I have used it in quite a few of my projects now.

Sadly, I did not consider IUP.  The technology choice for the LuaRocks Gui has been largely driven by a career change. It's a C++ first solution on purpose. The abstraction from the stack that sol2 provides is sublime. 

I read the documents each time IUP comes up and marvel at it's simplicity. Are there any higher order libraries available that provide controls? I'm wondering about control sets analogous of the various libraries that have been created on top of Qt such as Blackberry Cascades, or  KDE Plasma? I forget the name of the one that was created for SailfishOS (was it lipstick?).

This is the kind of Lua first technology that should be championed by a Lua foundation. 

If only there were more hours in the day. :(

Russ

Milind