title: How to make GTK work under Cygwin?
body: <p>I'm trying to make Gtk works under Cygwin/Code Blocks, but I encountered this error:</p>
  
  <blockquote>
    <p>cannot find -lgtk-win32-3.0</p>
  </blockquote>
  
  <p>The file gtk-win32-3.0.lib is located at </p>
  
  <blockquote>
    <p>C:\gtk\lib</p>
  </blockquote>
  
  <p>But when I try to add this file in the linker setting (Build option -> Linker settings -> Link Libraries), it does nothing.</p>
  
  <p>Any idea ?</p>
  
  <p>(It perfectly work with minGW)</p>
  
  <p>Thanks</p>
  
  <p>EDIT: I eliminated all remains of my old gtk's installation (the one downloaded on the official site made for minGW) and I also replaced the PATH variable by the good one.</p>
  
  <p>Here is my path viariable: C:\cygwin64\bin</p>
  
  <p>After that I had some file missing error when I compiled, so I added all correct paths into my search directory, but I don't think it was the good method, because now I have something like 10 path into my search directory ...</p>
  
  <p>Anyway, now I have, again, the same problem than before: </p>
  
  <blockquote>
    <p>/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lgtk-win32-3.0</p>
  </blockquote>
  
  <p>How can I solve this ?</p>