title: The program can't start because cygwin1.dll is missing... in Eclipse CDT
body: <p>I've had Eclipse for Java on my computer for a few years, and decided to install the CDT and learn C. I installed both <code>MinGW</code> and <code>Cygwin</code> and the CDT detects and tries to use them when I make a new project. </p>
  
  <p>I choose <code>File &gt; New C++ Project</code> and choose <code>Hello World C++ Project</code> and the <code>CygwinGCC</code> toolchain. I name the project "asdf" and hit "Build Debug" in the toolbar. The compiler completes without error. I hit Run and nothing happens. </p>
  
  <p>Browsing to the project directory manually and running asdf.exe gives me an error saying:<br>
  <strong><code>"The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem."</code></strong>  </p>
  
  <p>The same thing happens using MinGW, only a different dll is missing.<br>
  <strong>What do I need to do to have a usable .exe?</strong><br>
  (I'm running Windows 7 x64 and the newest version of Eclipse and the CDT.)</p>
  
  <p>EDIT:
  The compiler output is as follows:</p>
  
  <pre><code>**** Build of configuration Debug for project asdf ****
  
  make all 
  Building file: ../src/asdf.cpp
  Invoking: Cygwin C++ Compiler
  g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/asdf.d" -MT"src/asdf.d" -o"src/asdf.o" "../src/asdf.cpp"
  cygwin warning:
    MS-DOS style path detected: C:\Users\Shawn\Dropbox\eclipse\asdf\Debug
    Preferred POSIX equivalent is: /cygdrive/c/Users/Shawn/Dropbox/eclipse/asdf/Debug
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
  Finished building: ../src/asdf.cpp
  
  Building target: asdf.exe
  Invoking: Cygwin C++ Linker
  g++  -o"asdf.exe"  ./src/asdf.o   
  Finished building target: asdf.exe
  </code></pre>