Hi, I'm trying to implement LUA into one of my applications.
For that reason I downloaded "lua-5.2_Win32_vc10_lib.zip" from
LuaBinaries - Browse /5.2/Windows Libraries/Static at SourceForge.net
I want to link it directly to my project without dll so I choose static.
My program looks as following:
Code:
#pragma comment( lib, "lua52.lib" )
#include "include/lua.hpp"
int main()
{
lua_State *L = luaL_newstate();
return 0;
}
I put everything in my project solution as well (lib + include headers)
However... The linker tells me: error LNK2001: unresolved external symbol @luaL_newstate@0
Anyone knows whats wrong ?
I'm using Visual Studio 11 Beta
EDIT: lua 5.1 works perfect