Lua PureLibrary deprecated?
Lua PureLibrary deprecated?
Hi,
I was just looking for a Lua plugin/library for PureBasic, but the only one I can find, called PBLua is deprecated. Does this mean it is no longer developed, that it doesn't work with the latest version of PB, or what? Is there a newer library that can be used? Thanks for any info!
I was just looking for a Lua plugin/library for PureBasic, but the only one I can find, called PBLua is deprecated. Does this mean it is no longer developed, that it doesn't work with the latest version of PB, or what? Is there a newer library that can be used? Thanks for any info!
Re: Lua PureLibrary deprecated?
Cool ts-soft!
Do I need to include any dll with the compiled app?
Do I need to include any dll with the compiled app?
Re: Lua PureLibrary deprecated?
no, is a static lib, not a importlibPureLeo wrote:Cool ts-soft!
Do I need to include any dll with the compiled app?
Re: Lua PureLibrary deprecated?
Very nice!
Do you have a help file?
Thanks!
Do you have a help file?
Thanks!
Re: Lua PureLibrary deprecated?
You kidding? Its Lua, you can find it all over the web.
http://www.lua.org/manual/5.1/
http://www.lua.org/manual/5.1/
Re: Lua PureLibrary deprecated?
I know cas,
It's because i had another lua lib and it's functions names were different in some cases, like
lua_baseopen -> luaopen_base
So i didn't know if these functions were documented, etc

It's because i had another lua lib and it's functions names were different in some cases, like
lua_baseopen -> luaopen_base
So i didn't know if these functions were documented, etc
Re: Lua PureLibrary deprecated?
and you can download lua library 5.1.4 from here :
http://sourceforge.net/projects/luabina ... p/download
or lua 5.2work2 from here :
http://sourceforge.net/projects/luabina ... p/download
but i wonder if somebody know a link to a X64 lua library or can create it with mingw.
http://sourceforge.net/projects/luabina ... p/download
or lua 5.2work2 from here :
http://sourceforge.net/projects/luabina ... p/download
but i wonder if somebody know a link to a X64 lua library or can create it with mingw.
Sorry for my bad english.
Re: Lua PureLibrary deprecated?
I need to 2nd this request as well. A 64bit version would be extremely helpful.
Re: Lua PureLibrary deprecated?
thanks hallodri, you create this lib by yourself ? i think this a lua 4 library because it use lua_open for creating lua state instead luaL_newstate, but anyway it works on PB 64 bit.
can you explain more ?
can you explain more ?
Sorry for my bad english.
Re: Lua PureLibrary deprecated?
That was an old version. Although I have tried to compile the new version, but there were a few mistakes in PureBasic.
Re: Lua PureLibrary deprecated?
what mistakes ? actually i have mistake to build static lua library by myself (because i want modify lua then compile it) i use latest MinGW compiler but all time it creates a lua library for me that cant load lua strings and gets me Invalid memory access in calling luaL_loadstring and dont know what is my mistake (i want break my head), can you create a 32bit static lua library that works good with PB (by yourself)?
Sorry for my bad english.
Re: Lua PureLibrary deprecated?
try this 32bit versionPeyman wrote:what mistakes ? actually i have mistake to build static lua library by myself (because i want modify lua then compile it) i use latest MinGW compiler but all time it creates a lua library for me that cant load lua strings and gets me Invalid memory access in calling luaL_loadstring and dont know what is my mistake (i want break my head), can you create a 32bit static lua library that works good with PB (by yourself)?
www.realsource.de/tmp/lua5.1.32.rar
Re: Lua PureLibrary deprecated?
wow, yea its work. you create it by yourself ? can you say how you create it or share source ? with what compiler ?
Sorry for my bad english.