title: GCC, linking libraries, not found?
body: <ul>
  <li>OS: Windows 7 Pro X64</li>
  <li>IDE: Eclipse IDE for C/C++ Developers</li>
  <li>Compiler: MinGW (lastest, 4.5.2)</li>
  </ul>
  
  <p>Compiling HelloWorld.c works; but when I try to add some external libraries it chokes.</p>
  
  <p>I added the .a and .dll files to my 'Libraries'; add the path of both to PATH and Library Path.  I also put the include files and configured the Include.  The libraries I have are said to be compatible with win/mingw.  They also have a different download for MSVC which does work.</p>
  
  <p>Frustrating.  The ld.exe gives the full path and obviously there and I have permissions to read/write them. I also included them without path (they are in library path and path).</p>
  
  <p>I don't understand why this isn't working.</p>
  
  <p>c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lC:\rhino\data\lib\glfw.dll
  c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lC:\rhino\data\lib\libglfwdll.a
  c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lC:\rhino\data\lib\libglfw.a</p>
  
  <pre><code>C:\Users\rhino&gt;dir C:\rhino\data\lib\libglfw.a
  04/15/2011  05:24 PM            70,384 libglfw.a
  </code></pre>
  
  <p>Updated:</p>
  
  <p>I've even added them to my C:\MinGW\lib path and it still can't find them.</p>