lua-users home
lua-l archive

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


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 :-(