lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks for your hint. I made some progress. (I forgot to copy the .a files to the lib path of minwg).

But now I get this error: (after typing gcc -O -shared -o lxplib.dll lxplib.o -llua5.1 -llibexpat)
Cannot export ⌂LIBEXPAT_NULL_THUNK_DATA: symbol not found

Kind regards,
Jan (DracoBlue)

Jan Schütze wrote:
Hallo Alex,

If I add -lexpat it says it won't work, because -lexpat isn't found. I am really new to compiling this on windows.

Thanks for trying to help,
Jan (DracoBlue)

Alex Queiroz wrote:
Hallo,

On 3/22/07, Jan Schütze <JanS@dracoblue.de> wrote:
Hello,


After (which works fine): gcc -O2 -c -o lxplib.o lxplib.c
I call: gcc.exe -O -shared -o lxplib.dll lxplib.o -Llua_dir -llua5.1


You have to link your module against expat: -lexpat

Cheers,