1 compiler static library
a vs2017 create a C ++ console application
b attribute is set below
1 provided static type
2 disposed precompiled headers
c introduced into the filter lua source code src all documents
d on the project right to generate the name
when generating can make configuration changes Debug / Release x86 / x64-bit
e generated files can be found .lib file in the root directory of the project
lua static library compiled successfully
2 Use lua static library implementation lua with c ++ / c communicate
a introducing library path to the project (static library where to put this path is where)
b the path where the lua source file introduction came in
c add library files to the linker
C ++ and lua communication environment configuration