title: Using c++ library on linux
body: <p>I'm new to c++ and don't understand how to install a library on Linux (Mint). I want to use the GNU GMP library:<a href="https://en.wikipedia.org/wiki/GNU_Multiple_Precision_Arithmetic_Library" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/GNU_Multiple_Precision_Arithmetic_Library</a> 
  I downloaded the tar.lz file and installed it with </p>
  
  <pre><code>./configure
  make
  sudo make install
  </code></pre>
  
  <p>If I try to compile it, I get the error message that the header file "gmpxx.h" wasn't found. Where can I find this file? How do I compile it with the -lgmpxx -lgmp flags? I tried something like:</p>
  
  <pre><code>g++ test.cpp -o test -lgmpxx -lgmp
  </code></pre>