Lua -> Native exe ?

For everything that's not in any way related to PureBasic. General chat etc...
codemaniac
Enthusiast
Enthusiast
Posts: 289
Joined: Mon Apr 02, 2007 7:22 am
Location: Finland

Lua -> Native exe ?

Post by codemaniac »

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!
Cute?
leaf
New User
New User
Posts: 9
Joined: Thu Dec 13, 2007 3:03 am
Location: 3rd galaxy, then left at apple tree

lua to exe

Post by leaf »

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).
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Re: Lua -> Native exe ?

Post by ricardo »

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!
You can use PB.
There exist some lib coded by FloHimself that let you embed LUA in PB.
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Post by Marco2007 »

PureBasic for Windows
Post Reply