At first, when C::B installed, it detected my cygwin installation, but it couldn't compile anything.
Then I tryed and manually set it, but it still doesn't work. NetBeans works fine, btw.
I followed this manual
http://wiki.codeblocks.org/index.php?title=Installing_Cygwin_CompilerI can't understand the first part (I have no MinGW, just the GCC cygwin plugin).
These are the settings
I also set the paths as the manual said.
The auto-detect button works, but when I try to compile something, I get this error
Compiling: C:\Users\Pepsi\Documents\NetBeansProjects\cerca_nodo\main.cpp
Execution of 'g++.exe -IC:/cygwin/usr/include -c C:/Users/Pepsi/Documents/NetBeansProjects/cerca_nodo/main.cpp -o C:/Users/Pepsi/Documents/NetBeansProjects/cerca_nodo/main.o' in 'C:\Users\Pepsi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CodeBlocks' failed.
Nothing to be done.
Checking for existence: C:\Users\Pepsi\Documents\NetBeansProjects\cerca_nodo\main.exe