title: Can not find mpirxx.h after building the mpir-2.6.0 library in vc++
body: <p>I need to use <code>mpir-2.6.0</code> library with <code>visual c++ 2010</code>. My code is going to be in c++. </p>
  
  <p>I extracted both folders (<code>mpir-2.6.0</code> and <code>vsyasm-1.2.0-win32</code>). Then, I copied the content of the folder <code>vsyasm-1.2.0-win32</code> (including <code>vsyasm.exe</code> after renaming it to <code>yasm.exe</code> and placing it in: <code>C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\</code>. Then, I opened the project: <code>mpir.sln</code> which is placed in: <code>\mpir-2.6.0\build.vc10</code>. Then, I changed the Project configuration to: <code>Release</code>. </p>
  
  <p>When I try to build the whole solution, I get a lot of errors such as:</p>
  
  <pre><code>error C1020: unexpected #endif  c:\proj\mpir-2.6.0\mpir-2.6.0\mpir.h    4   1   lib_mpir_gc
  error C1020: unexpected #endif  c:\proj\mpir-2.6.0\mpir-2.6.0\mpir.h    4   1   lib_mpir_gc
  error C1020: unexpected #endif  c:\proj\mpir-2.6.0\mpir-2.6.0\mpir.h    4   1   lib_mpir_gc
  </code></pre>
  
  <p>But when I build every library separately, it is successful. </p>
  
  <p>After the build, I went to: <code>\mpir-2.6.0\build.vc10\Win32\Release</code>
  and find the files:</p>
  
  <pre><code>mpir.lib
  mpirxx.lib
  mpir.pdb
  mpirxx.pdb
  </code></pre>
  
  <p>But I can not find the files:</p>
  
  <pre><code>mpir.h
  mpirxx.h
  </code></pre>
  
  <p>Which I need to copy them the visual studio include file.</p>
  
  <p>My main source for these configuration is: <a href="http://www.exploringbinary.com/how-to-install-and-run-gmp-on-windows-using-mpir/" rel="nofollow">http://www.exploringbinary.com/how-to-install-and-run-gmp-on-windows-using-mpir/</a> (but this was for old versions for the library and the ysam). I do not understand the reasons for these errors. I was able to configure the library with old version. But I need to upgrade as there are improvements in the library and mine is very old one.</p>