title: Linker error with Lua and vs2015
body: <p>I'm very new to using visual studio, and c++. </p>
  
  <p>I was trying to build a game to test my OOP understandings using new language, then I realized I might need to start using scripting language with in my C++ game. I found LUA to be a good candidate for the scripting part of the game, so I decided to follow a tutorial I've found at :
  <a href="http://www.gamedev.net/page/resources/_/technical/game-programming/the-lua-tutorial-r2999" rel="nofollow">http://www.gamedev.net/page/resources/_/technical/game-programming/the-lua-tutorial-r2999</a></p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;lua.hpp&gt; 
  #include&lt;iostream&gt;
  
  
  int main()
  {
   char *Lua =
      "x = 8 "
      "return ( x &gt; 7 ) ";
  
   lua_State *luaState;
  
   luaState = luaL_newstate();
   int iStatus = luaL_loadstring(luaState, szLua);
   if (iStatus)
   {
      std::cout &lt;&lt; "Error: " &lt;&lt; lua_tostring(luaState, -1);
      return 1;
   }
   return 0;
  }
  </code></pre>
  
  <p>However VS 2015 debugger is giving </p>
  
  <pre><code> unresolved external symbol _luaL_newstate
   unresolved external symbol _luaL_loadstring
   unresolved external symbol _lua_tolstring
  </code></pre>
  
  <p>I'm currently using Lua 5.1.5, and followed the tutorial setting tutorial section step by step, where it tells me to add lua folders to project settings. </p>
  
  <p>Can someone tell me what i'm doing wrong?</p>