[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Using Lua in a C(++) program
- From: Johannes Hager <hager.j@...>
- Date: Fri, 13 Jun 2003 13:57:51 +0200
I doesnt try do link a lua.4.0 libary or so i think so, because my dircetory
ist named lua 5.0. And why should it had work and now not. Over the weekend i
will write a completly new program and if it not work then i will post it.
Thanks for all help
> > 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.