From BarikWiki
Jump to: navigation, search

Integrating Lua into Visual Studio (and C/C++)

Also, take a look at the C++ page for more Visual Studio information.

  • Additional Include Directories (/I), found under Configuration Properties, C/C++, General. Add c:\lua5_1_4_Win32_bin\lua\include.
  • Additional Library Directories, found under Configuration Properties, Linker, General. Add c:\lua5_1_4_Win32_bin.
  • Property Pages (ALT + F7), Configuration Properties, Debugging, Environment. You can then use environment variables such as PATH="C:\lua5_1_4_Win32_bin". You might also want to set your Working Directory to where the Lua scripts are for testing.