From: Hakki D. <dog...@tr...> - 2006-05-09 15:59:07
|
Hi, Steve Kieu yazmış: > Hi, > > Some question for luasql developer: > > * If luasql depends much on compat-5.1 why separated it into two > packages and not have any INSTALL instructions? > > * Got lua.exe compile from source using the bat file and nmake. Load the > dll using command require'luasqlmysql' crash the system. > > Any one has written any HOWTO to use the binary luasql with lua-51? I > mean version 5.1 not 5.0. Or the step by step howto compile luasql in > win32 with lua-5.1? please help. > > Thank you in advance. forgive me if what I ask is too much as; in the > kepler site it explicitly noted that **this version works with lua 5.0 > ** . But I got it work in Linux rather easily by compiling from source, > when when compiling this thing in win32 got me stump. > > > > > > > > S.KIEU > I've compiled with MinGW as: (directories should be adjusted) gcc -s -shared -W -O2 -Wall -mthreads -fno-pcc-struct-return -DLUA_BUILD_AS_DLL -DHAVE_W32API_H -DWIN32 -D_WINDOWS -D_REENTRANT -D_MBCS -o luasqlite3.dll libluasqlite3.c -I/a_C/_lua/include -I/a_C/_sqlite/include -L/a_C/_lua/lib -L/a_C/_sqlite/lib -L. -lsqlite3dll -llua51dll -- Regards, Hakki Dogusan |