title: How to include a "custom" library in Code::Blocks? (Windows 7)
body: <p>Ok, I've never did this before and I'm having problems to understand how it works (Especially the "include" part). Here's my code:</p>
  
  <pre><code>#include &lt;joypp1.02/app.h&gt;
  #include &lt;joypp1.02/objects.h&gt;
  
  void event_plot()
  {
      if (App::event_type() == ALLEGRO_EVENT_DISPLAY_CLOSE)
      {
          App::shut_down();
      }
      if (App::event_type() == ALLEGRO_EVENT_KEY_DOWN)
      {
          if (App::event().keyboard.keycode == ALLEGRO_KEY_ESCAPE)
          {
              App::shut_down();
          }
          if (App::event().keyboard.keycode == ALLEGRO_KEY_ENTER)
          {
              cout &lt;&lt; "Whatever! ";
          }
      }
  }
  
  void visual_plot()
  {
      static Image x("sample.png");
      x.draw();
  }
  
  int main(int argc, char **argv)
  {
      App app(800, 600);
      app.set_background_color(200, 0, 0);
      app.add_event_scene(Scene("Event Plot", event_plot));
      app.add_visual_scene(Scene("Visual Plot", visual_plot));
      app.run();
      return 0;
  }
  </code></pre>
  
  <p>joypp1.02 is the dynamic-link library I've compiled, and it's in its own "output" folder (Together with the import file):</p>
  
  <p><img src="https://i.stack.imgur.com/PpKcP.png" alt="enter image description here"></p>
  
  <p>joypp1.02 has only two headers: app.h e objects.h. How do I import them? The library is in the linker (I want to keep it in the output folder of the library, because It's in constant development. BUT, I want to compile it <strong>only</strong> as a DLL, so I have a separate project that <strong>uses</strong> the DLL).</p>
  
  <p><img src="https://i.stack.imgur.com/y8GL7.png" alt="enter image description here"></p>
  
  <p>And the folder with the joypp1.02.dll is in the Search Directories of the compiler.</p>
  
  <p><img src="https://i.stack.imgur.com/2PUeK.png" alt="enter image description here"></p>
  
  <p>And if I try to include like this:</p>
  
  <pre><code>#include "joypp1.02.h"
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>fatal error: joypp1.02.h: No such file or directory
  </code></pre>
  
  <p>So, I'm lost. How to include a "custom" library in Code::Blocks in Windows? How do I know the include name? Why it's a header like "joypp1.02.h" if it's a .a file? </p>
  
  <p>Disclaimer: I've used the word "custom" to emphasize that it was written and compiled by me (So, probably more problems than just importing some "official" and "pro" one).</p>