Compiling Lua Scripts In Visual Studio

lua-users home

This is a simple explanation on creating a Visual Studio Project for the lua scripts used in your project. The results of this should cause your scripts to be compiled (with a .o extension) and any errors will appear in the errors box in visual studio.

Hope this helps -- AA

Step 1: Create the project.

Step 2: Download the following files

Step 3: Set up the project

Some other things: A Microsoft demo on using lua with visual studio [1]

Also LuaLangPack? [2] for getting some good highlighting for VS2005. See this CodePlex? page [3] for VS2008+ integration.

Comments: I've removed my old method for doing this. If its useful to someone, Check out Revision 6 of this page.

RecentChanges · preferences
edit · history
Last edited December 5, 2009 3:49 am GMT (diff)