www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LuaLib 5.1.4

reply Trass3r <mrmocool gmx.de> writes:
I updated the LuaLib code and the example in the wiki.
Get it here: http://www.dsource.org/projects/bindings/wiki/LuaLib

CHANGES:
+ D2 compatibility!
+ includes precompiled lua 5.1.4 that is automatically linked
* several bugfixes


The example code runs fine with dmd 1.039 and dmd 2.023, but D2 
compatibility still needs extensive testing.

If you find any bugs, please report them ;)
Jan 18 2009
next sibling parent reply Extrawurst <spam extrawurst.org> writes:
Trass3r wrote:
 I updated the LuaLib code and the example in the wiki.
 Get it here: http://www.dsource.org/projects/bindings/wiki/LuaLib
 
 CHANGES:
 + D2 compatibility!
 + includes precompiled lua 5.1.4 that is automatically linked
 * several bugfixes
 
 
 The example code runs fine with dmd 1.039 and dmd 2.023, but D2 
 compatibility still needs extensive testing.
 
 If you find any bugs, please report them ;)
Nice work. Only drawback is that it does not compile with warnings enabled.
Jan 21 2009
parent reply Trass3r <mrmocool gmx.de> writes:
Extrawurst schrieb:
 Nice work.
 
 Only drawback is that it does not compile with warnings enabled.
Thanks. Yeah still requires some work. Furthermore I'm trying to add a mechanism to automatically register a whole class rather than single methods. But couldn't get anything to work yet.
Jan 21 2009
parent reply Extrawurst <spam extrawurst.org> writes:
Trass3r wrote:
 Extrawurst schrieb:
 Nice work.

 Only drawback is that it does not compile with warnings enabled.
Thanks. Yeah still requires some work. Furthermore I'm trying to add a mechanism to automatically register a whole class rather than single methods. But couldn't get anything to work yet.
I did change the code to work with warnings enabled may i mail it to you ?
Jan 21 2009
parent Trass3r <mrmocool gmx.de> writes:
Extrawurst schrieb:
 I did change the code to work with warnings enabled may i mail it to you ?
Yeah of course.
Jan 21 2009
prev sibling parent g <gerar1995 gmail.com> writes:
I had some problems linking it in linux(particulary ubuntu, but can affect
other distros).
The reason:
 The pragma doesn't is configured to the location of the lua library.
Solution:
  modify:
     version(linux)	pragma(lib, "lua/lua.lib");
  To the location on your machine(relative to /usr/lib) Ej(on my case):
     version(linux)	pragma(lib, "lua5.1.so.0");

Regards g
-----------------------
[sorry for my English]
Feb 13 2009