lua-users home
lua-l archive

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

What command line did you use to compile and link lua. Did you use a makefile?? Did you create a .lib, .a, or .dll? How did you compile your test program (or app using lua)?? Can you give me an example of what you did to get it to work?

From: Eric Tetz <>
To: Multiple recipients of list <>
Subject: Re: Lua and mingw32
Date: Tue, 20 Nov 2001 23:07:26 -0800 (PST)

--- Denis Lamarche <> wrote:
> Has anyone compiled a LUA library (static or dynamic) in mingw32??
> I've been trying to get it to compile, but with no luck. everytime I try a
> test program with the lib I create, it gives me a link error.  Something
> like undefined reference to `lua_dofile(lua_State *, char const *)'.

I just did this last night. No problems. You are compiling and linking your test executable with
mingw as well, right?


Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

Get your FREE download of MSN Explorer at