Ethereal-dev: Re: [Ethereal-dev] Lua for windows, need help

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Lars Roland" <Lars.Roland@xxxxxxx>
Date: Wed, 08 Feb 2006 13:04:01 +0100
Hello all,

here are the nmake makefiles for building the lua libs with MSVC6.
To build lua, do the following steps:
- Download lua sources from http://www.lua.org/ftp/lua-5.0.2.tar.gz and extract it
- copy LibLua.nmake to lua-5.0.2/src and LibLuaLib.nmake to lua-5.0.2/src/lib
- build libraries by calling "nmake -f LibLua.nmake" and "nmake -f LibLuaLib.nmake"

You will find the built libraries in Lua-5.0.2/bin

I had a strange problem with an error when linking the libs with the lua plugin, but the error vanished somehow. I hope the makefiles work for others, too.

BTW, Luis I noticed that your "Hello World" demo doesn't print anything anywhere, even not into the debug window, when using it with ethereal. tethereal works fine with lua. Is this windows specific or is the print function not supported in ethereal?

Gerald, perhaps you can create a package including the sources, the nmake makefiles
and the built libs and put it on http://anonsvn.ethereal.com/ethereal-win32-libs/trunk/packages/

Best regards,
Lars

Attachment: LibLua.nmake
Description: Binary data

Attachment: LibLuaLib.nmake
Description: Binary data