Start with Lua for Windows . This will provide you with stand-alone batteries, including installing Lua. Lua for Windows is not an official distribution, but it is well respected by the Lua user community. You can use its lua.exe to gain experience with the language in the Windows environment, as well as use its rich collection of tested extension modules.
If you add your include and lib folders to your VS project configuration, you can compile and link to Lua in no time.
One possible complication is that the LfW distribution is built against the VC8 C runtime library. If this becomes a problem, you can either compile Lua yourself as part of your solution, or get the well-known good DLL that matches your specific version of Visual Studio from Lua Binaries .
Remember that if you use one of the distributed DLLs, it will be compiled as C, not C ++. This means that you must wrap any links to files with Lua support in extern "C" {...} or you will have problems with the linking.
It really helps to have some experience with configuring and building a VS project. In particular, the experience of mixing C and C ++ in a VS project is very useful.
source share