Lua5.1.lib Missing Solutions

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.