lua-users home
lua-l archive

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


WC> wAxEn wrote:
>> But  when  I  try  to  compile the source in VC7 I get the folowing
>> error:
>>
>> print.obj : error LNK2019: unresolved external symbol "char const *
>> const * const luaP_opnames" (?luaP_opnames@@3QBQBDB) referenced in
>> function "void __cdecl PrintCode(struct Proto const *)"
>> (?PrintCode@@YAXPBUProto@@@Z) ../bin/luac.exe : fatal error LNK1120:
>> 1 unresolved externals

WC> Did you follow the instructions in the example "lua-5.0/build" file to setup
WC> your project?

WC> Bye,
WC> Wim

My  apologies. I've just read the INSTALL file more carefully and found
this line:
and also lopcodes.c (with LUA_OPNAMES defined) from core.

But why is this define required anyway?

Best regards,
Konstantinas Vaškevičius
aka wAxEn
mailto:waxen@erdves.lt