User forums > General (but related to Code::Blocks)
Cygwin problem
The 11th plague of Egypt:
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_Compiler
I 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
stahta01:
I suggest turn on full compiler logging and verifying that the gcc.exe and g++.exe files exists in your cygwin installation.
Edit: OS Version; CB Version and Cygwin Version may be needed to provide any real help.
Tim S.
The 11th plague of Egypt:
The files you mentioned exist, I checked and saw them, also they get auto detected.
They are in the bin directory like the note says.
My specs:
Win7 32bits
C::B 8.02 non MinGW
CigWin 1.7.something, just updated
I don't know how to activate full logging.
Should I try the Reset to default button, or may it broke other programs too? NetBeans works afterall.
stahta01:
Please read the Troubleshooting section in the Wiki link you posted.
Tim S.
The 11th plague of Egypt:
Thanks. Whatever I do, it ends the same. It keeps asking me to build, even if I click yes, and it quits when I answer no.
I get this terminal.
g++.exe -IC:/cygwin/usr/include -c C:/Users/Pepsi/Documents/NetBeansProjects/es_settimana6/es_sett6.cpp -o C:/Users/Pepsi/Documents/NetBeansProjects/es_settimana6/es_sett6.o
Execution of 'g++.exe -IC:/cygwin/usr/include -c C:/Users/Pepsi/Documents/NetBeansProjects/es_settimana6/es_sett6.cpp -o C:/Users/Pepsi/Documents/NetBeansProjects/es_settimana6/es_sett6.o' in 'C:\Users\Pepsi\Documents\NetBeansProjects\es_settimana6' failed.
Nothing to be done.
Checking for existence: C:\Users\Pepsi\Documents\NetBeansProjects\es_settimana6\es_sett6.exe
Executing: C:\Program Files\CodeBlocks/cb_console_runner.exe "C:\Users\Pepsi\Documents\NetBeansProjects\es_settimana6\es_sett6.exe" (in C:\Users\Pepsi\Documents\NetBeansProjects\es_settimana6)
Process terminated with status -1073741510 (0 minutes, 8 seconds)
Navigation
[0] Message Index
[#] Next page
Go to full version