How to link Lua in Microsoft Visual C++.2010 Express?
问题 I am trying to write C++ classes/functions which can be accessed from Lua. I need to export the C++ library as dll files. I'm using Microsoft Visual C++.2010 Express So I create a project and add the require .cpp files and .h files Now when I try to build, the following error occurs. mylib.obj : error LNK2019: unresolved external symbol _lua_settop referenced in function "void __cdecl g_initializePlugin(struct lua_State *)" (?g_initializePlugin@@YAXPAUlua_State@@@Z) Similar errors occur for