lua-users home
lua-l archive

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


Hello Jarrod,

    You need to add the lopcodes.c file from [luadir]/src to your project,
too.

                                                                        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:50 PM
Subject: Re: Trying to get Lua 5 built using Visual Studio 7 ( .Net 2003 )?


> Leandro Candido wrote:
>
> >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.
> >
> >
> Actually I am the one that was trying to get the luac project to compile?
>
> #ifndef LUA_OPNAMES
> #define LUA_OPNAMES
> #endif
>
> is already in print.c, it compiles fine, it is the linker that barfs up
> the following
>
> ------ Build started: Project: luac, Configuration: Release Win32 ------
>
> Compiling...
> print.c
> luac.c
> Generating Code...
> Linking...
> print.obj : error LNK2019: unresolved external symbol _luaP_opnames
> referenced in function _PrintCode
> Release/luac.exe : fatal error LNK1120: 1 unresolved externals
>
>
> I am just not a visual studio guru :-(
>
>