[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Using Lua in a C(++) program
- From: "Nick Trout" <nick@...>
- Date: Thu, 12 Jun 2003 11:57:25 -0700
> Has no one a idea about my problem. I dont´t what to do with that now.
>
> > Sorry but have forgotten to say some very important!
> >
> > > lua_open() had not fails, but after i tried to include
> lauxlib.h it
> > > fails even if i doesnt include lauxlib.h. I think thats
> very strange
> > > and their helps me no doku because their stuff runs. lua_open()
> > > fails not only the
> >
> > compiler says undefind reference. What is interesting to, if i write
> > lua_open(0) then he find the function but says to many arguments.
> >
> > > > I will look at this stuff. But since i begann to try
> implement lua
> > > > in a
> > > > c++ program their are only problemes. For example after i
> > > > c++ includede
> > > > "lauxlib.h", "lua_open()" works no more, if you will
> not going a
> > > > bit mad with the time
Are you trying to link a Lua 4.0 library (perhaps from the the lua.org downloads) but using the Lua 5.0 include files?
If it's still not working try pasting the compiler and/or linker messages into an email. You aren't giving us enough information about your problem.
Try compiling this distribution. There are build files for MSVC 6.0 and Unix. Win32 binaries are included.
http://sourceforge.net/project/showfiles.php?group_id=38461
N