Hi Retriever2,
I am trying to build a lib for xlua following your step inside your help but with no success.
Can you tell me what am i doing wrong,
Thanks in advance
Hi Retriever2,
I am trying to build a lib for xlua following your step inside your help but with no success.
Can you tell me what am i doing wrong,
Thanks in advance
Regards,
Fernando Vivolo
... new things are coming ...
It looks like you did almost everything correctly.
It looks like the lsqlite author didn't bother testing their build in MSVC++, because it wasn't properly exposing the public register function.
I had to change line 1858 to:
extern __declspec(dllexport) int luaopen_lsqlite3(lua_State *L) {
Second, I had to rename the DLL to lsqlite3.dll to match the function name (naming is very important).
After those changes it works fine. Here is a version built for XLua: http://taloncrossing.com/xlua/xluacm-lsqlite3.zip
Thanks Retriever2,
Yes, it is working!!
i tested here and it is very fast
Regards,
Fernando Vivolo
... new things are coming ...