digitalmars.D.announce - LuaLib 5.1.4
- Trass3r (9/9) Jan 18 2009 I updated the LuaLib code and the example in the wiki.
- Extrawurst (3/16) Jan 21 2009 Nice work.
- Trass3r (5/8) Jan 21 2009 Thanks. Yeah still requires some work.
- Extrawurst (2/11) Jan 21 2009 I did change the code to work with warnings enabled may i mail it to you...
- Trass3r (2/3) Jan 21 2009 Yeah of course.
- g (11/11) Feb 13 2009 I had some problems linking it in linux(particulary ubuntu, but can affe...
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
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
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
Trass3r wrote:Extrawurst schrieb:I did change the code to work with warnings enabled may i mail it to you ?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
Extrawurst schrieb:I did change the code to work with warnings enabled may i mail it to you ?Yeah of course.
Jan 21 2009
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