title: Cannot find Magick++ header files
body: <p>Hoping someone can help me out as I'm at a complete loss. I've trawled the Internet and really can't find anything more to help me.</p>
  
  <p>I'm trying to compile my c++ program which uses the Magick++ library. I've installed Magick++ seemingly fine. In my current directory is located main.cpp and I'm running <code>g++ main.cpp</code>. I'm getting the following error...</p>
  
  <pre><code>In file included from main.cpp:3:0:
  /home/simeon/ImageMagick-6.8.9-0/Magick++/lib/Magick++.h:9:30: fatal error: Magick++/Include.h: No such file or directory
  compilation terminated.
  </code></pre>
  
  <p>To try and get around the problem I'm declaring the absolute path to Magick++.h in my main.cpp so I have this which seems to be working...</p>
  
  <pre><code>#include "/home/simeon/ImageMagick-6.8.9-0/Magick++/lib/Magick++.h"
  </code></pre>
  
  <p>The error occurs on line 9 in Magick++.h (which it's finding due to me absolute path) which looks like this...</p>
  
  <pre><code>#include &lt;Magick++/Include.h&gt;
  </code></pre>
  
  <p>This is where I'm confused because this file does exist in the place it says it is. If I run</p>
  
  <pre><code> cat /home/simeon/ImageMagick-6.8.9-0/Magick++/lib/Magick++/Include.h
  </code></pre>
  
  <p>then the file opens without problem and shows its contents.</p>
  
  <p>Does anyone have any suggestions as to what's going on please? I don't understand why I need to specify an absolute path at all and why g++ isn't finding the header files in the first place. Is there somehow I can tell g++ to look for Magick++ headers in a specific place?</p>
  
  <p>Thanks in advance! 
  Simeon</p>