Hello!
I have been using Lua for the past 2 weeks and I love it very much! It is very easy to use and quite portable too, but the problem is that I can't save my Lua projects as native executables.. Does anybody know of a 3rd party application to do that? Or perhaps use C/C++ to embed Lua and then compile that to a native exe? What about libraries such as gtk2.so? What about Linux or Mac OS Z?
Thanks in advance!
Lua -> Native exe ?
-
- Enthusiast
- Posts: 289
- Joined: Mon Apr 02, 2007 7:22 am
- Location: Finland
Lua -> Native exe ?
Cute?
-
- New User
- Posts: 9
- Joined: Thu Dec 13, 2007 3:03 am
- Location: 3rd galaxy, then left at apple tree
lua to exe
I thought I remember reading ways you could compile Lua to exe, with 3rd party. You asked in the lua forums? Try, for example some of these:
From HTTP://LUA-USERS.ORG/WIKI/LUAADDONS
# [lua2c] (5.0) - a tool for converting Lua code into C. [ then you can use free comppilers such as Watcom to turn C to exe. ]
OR:
# [Ngui] - An Xml/Lua binding to win32 Gui for windows98/NT/2000/Xp and PocketPC (windowsCE Arm).
# [PBLua] (5.0.2) - a Purebasic library wrapping Lua 5.0.2.
# [SWIG] (5.0) - An easy to use tool to automatically bind C/C++ code to Lua and many other scripting languages
# [wxLua] (5.1) - a blend of Lua and wxWidgets. Provides its own IDE (written in wxLua) with a GUI debugger, a binding generator and wxWidgets bindings usable as a module (see also the LibrariesAndBindings page).
From HTTP://LUA-USERS.ORG/WIKI/LUAADDONS
# [lua2c] (5.0) - a tool for converting Lua code into C. [ then you can use free comppilers such as Watcom to turn C to exe. ]
OR:
# [Ngui] - An Xml/Lua binding to win32 Gui for windows98/NT/2000/Xp and PocketPC (windowsCE Arm).
# [PBLua] (5.0.2) - a Purebasic library wrapping Lua 5.0.2.
# [SWIG] (5.0) - An easy to use tool to automatically bind C/C++ code to Lua and many other scripting languages
# [wxLua] (5.1) - a blend of Lua and wxWidgets. Provides its own IDE (written in wxLua) with a GUI debugger, a binding generator and wxWidgets bindings usable as a module (see also the LibrariesAndBindings page).
Re: Lua -> Native exe ?
You can use PB.codemaniac wrote:Hello!
I have been using Lua for the past 2 weeks and I love it very much! It is very easy to use and quite portable too, but the problem is that I can't save my Lua projects as native executables.. Does anybody know of a 3rd party application to do that? Or perhaps use C/C++ to embed Lua and then compile that to a native exe? What about libraries such as gtk2.so? What about Linux or Mac OS Z?
Thanks in advance!
There exist some lib coded by FloHimself that let you embed LUA in PB.