lua-users home
lua-l archive

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


One easy way would be to generate a simple program like (this is off
the top of my head, it may or may not be actually correct)

#include <lua.h>

int main (int argc , char **argv)
{
	lua_State *L;

	L = lua_open (0);
}

then do a simple gcc -o ltest myfile.c -llua

and test the return value or see if it generates a link error of some
type.

==============

On Tue, 8 Oct 2002 17:40:35 -0400
"Roger D. Vargas" <rogerdv@softhome.net> wrote:

> Hi
> Im new using lua and I cant find how to detect lua in my configure
> scripts and link it to my program. Can somebody give me an idea?
> Thanks in advance.
> 
> -- 
> Roger D. Vargas
> ICQ: 117641572
> Linux user: 180787