[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trying to get Lua 5 built using Visual Studio 7 ( .Net 2003 )?
- From: "Leandro Candido" <enclle@...>
- Date: Sun, 28 Dec 2003 19:38:14 -0200
Hello Scott,
You need to define LUA_OPNAMES in the options to o compiler, something
like -DLUA_OPNAME or /DLUA_OPNAME.
I imagine that this can help you.
God bless you,
Leandro.
----- Original Message -----
From: "Jarrod Roberson" <jarrod@vertigrated.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Sunday, December 28, 2003 7:18 PM
Subject: Re: Trying to get Lua 5 built using Visual Studio 7 ( .Net 2003 )?
> Scott Morgan wrote:
>
> > Yes, unfortunatly I won't get my hands on it for a week (xmas
> > holidays, PC in the office). However, it's not that hard to do anyway.
> > You can dump all the files into one big project/solution (console
> > application type) or you can split the base files, the lua-lib files
> > and the actual lua.c file between three projects in the same solution.
> >
> > You'll have to tidy up the crap MS puts into it's projects by default
> > (bitmaps, HTML files, etc) and make a few changes to the project
> > settings like adding the lua include directory to the projects path
> > (if you split the files between the three projects the base and
> > lua-lib files need to compile to LIBs not EXEs and the lua.c project
> > needs to refer to those libs)
> >
> > Scott
> >
> Thanks for the reply, I got some help and already posted my
> soultion/project to the wiki. I got Lua to compile as a static lib but I
> can't get luac to compile using it, no matter what? Any thoughts on
> getting luac compiled would be great. it complains about not being able
> to find luaP_opnames[] even though I have the includes and lib files
> and everything else set up and compiling the linker just bitches about
> this line in print.c 86: printf("%-9s\t",luaP_opnames[o]);
>
> I really want to add luac to the solution on the wiki, but I couldn't
> get it to work :( Any advice is appreaciated.
>
>