lua-users home
lua-l archive

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


>   I am statically linking my classes, and I realized I was using the wrong version of Lua (5.1) so it was working, but now I get these errors when I use Lua 5.2
> 
> error LNK2019: unresolved external symbol _lua_tonumber referenced
> error LNK2019: unresolved external symbol _lua_tointeger referenced
> error LNK2019: unresolved external symbol _lua_pcall
> error LNK2019: unresolved external symbol _luaL_loadfile referenced

You're using the include files from Lua 5.1 but linking with 5.2.