Sometimes the source of the download only the corresponding makefile, there is no window corresponding to the generation method, but still can use the static library:
1 Open vs2013 Create a new Win32 Console Application (WIN32 console project )
2 Static library (static library remove precompiled Header (precomplied header , click Done.
3 add header files to the project and source (. c)
4 properties -> Configuration Properties
1) in the C + + key point Open general, the first add-on contains the directory to fill the header file corresponding to the directory
2) at the midpoint of C + + items, the second is compiled to Select compile to C code (/tc)
 
< Span style= "Font-family:times New Roman;" > 5 Build the project, the build will releaselua.lib
< Span style= "font-family: ' Times New Roman '; font-size:10.5pt; " >error c4996: ' fopen ': this function or variable may be unsafe
and generate it again.
You can use the Lib file when you add the library file directory and the library filename in the future.
Get lib file using src file