title: Using LibCURL C++
body: <p>I've been trying to use LibCURL in C++ for a couple hours now, and it is really getting on my nerves. I have a feeling someone else has had a problem like this before, but I haven't found and posts that have given me a solution.</p>
  
  <p>This is what I've done:</p>
  
  <p>Since the <a href="http://curl.haxx.se/download.html">libCurl download page</a> is so confusing, I am posting exactly what I've done. First, I downloaded the file at the top (<a href="http://curl.haxx.se/download/curl-7.23.1.zip">curl-7.23.1.zip</a>), and then opened it in winRAR. I then went into the include folder, and then extracted the 'curl' folder out of there.</p>
  
  <p><img src="https://i.stack.imgur.com/Zngnz.png" alt="enter image description here"></p>
  
  <p>I then created a new project with Code::Blocks, and then moved the 'curl' folder into the same folder as my project.</p>
  
  <p><img src="https://i.stack.imgur.com/Q90YH.png" alt="enter image description here"></p>
  
  <p>I then add '#include "curl/curl.h"' to the top of my file, and then try and initialize a simple CURL var... I then get an error, saying:</p>
  
  <pre><code>...\main.cpp|22|undefined reference to `_imp__curl_easy_init'|
  </code></pre>
  
  <p>Here is a picture of the actual code/error:
  <img src="https://i.stack.imgur.com/rf47e.png" alt="enter image description here"></p>
  
  <p>Honestly, I think it is something very very stupid that I am doing, but I just don't know what to do.</p>