Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
January 19, 2009 LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
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 ;) |
January 21, 2009 Re: LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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.
|
January 21, 2009 Re: LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Extrawurst | 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.
|
January 21, 2009 Re: LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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 ?
|
January 21, 2009 Re: LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Extrawurst | Extrawurst schrieb:
> I did change the code to work with warnings enabled may i mail it to you ?
Yeah of course.
|
February 14, 2009 Re: LuaLib 5.1.4 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | 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] |
Copyright © 1999-2021 by the D Language Foundation