lua-users home
lua-l archive

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


That fixed it.

Thank you.

-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Luiz Henrique de Figueiredo
Sent: Friday, May 03, 2013 2:48 PM
To: Lua mailing list
Subject: Re: Using Lua 5.2, four function are not resolved, using VS2012

>   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.