title: gmp.h /mpir.h linker in visual studio 2012 professional
body: <p>I am trying to use gmp.h for C/C++. I am currently working on visual studio 2012 professional. I followed the instructions from the <a href="http://www.exploringbinary.com/how-to-install-and-run-gmp-on-windows-using-mpir/" rel="nofollow">link</a>. But still I got error messages...</p>
  
  <pre><code>1&gt;------ Build started: Project: final, Configuration: Debug Win32 ------
  1&gt;  final.cpp
  1&gt;final.obj : error LNK2019: unresolved external symbol ___gmpz_init referenced in function _wmain
  1&gt;final.obj : error LNK2019: unresolved external symbol ___gmpz_init_set_ui referenced in function _wmain
  1&gt;final.obj : error LNK2019: unresolved external symbol ___gmpz_out_str referenced in function _wmain
  1&gt;D:\New folder\final\Debug\final.exe : fatal error LNK1120: 3 unresolved externals
  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>I tried all possible options but could not got the solution. Please help me out</p>