Link:fatal error LNK1181: Cannot open input file "Lua5.1.lib"
VS Compile your own project, when this error occurs, the solution: 1, download LUA:HTTP://WWW.LUA.ORG/2, unzip the downloaded compression package. 3. Create a new project with VS, named lua5.1 4, select Next application Type in the wizard-select Static Library-additional option to remove precompiled Header (P)-Add common header file for-remove MFC (M) 5, click-Finish
6. Copy all files from the SRC directory in Lua to the project. H and. cpp
7. Right-click the project Properties-Configuration Properties-C + +-advanced-compile as-select "Compile as C + + code (/TP)"
8, OK, right click on Project generation
9, in the Project Debug folder there is a lua5.1.lib static library
10. Copy this file to the C:\Program files (x86) in the VS installation directory \microsoft The Visual Studio 12.0\vc\lib folder to resolve the
Finish: Restart VS2013
PS: In the compilation of Lua5.1.lib may be some small errors, online search can be directly resolved, the perfect solution.