User forums > Help

bogus: No such file or directory compiler error with cygwin

(1/1)

dnewhous:
I know that the error is bogus because I was able to successfully build and run the project from the cygwin command line.  

The exact error message is

"fatal error: sys/socket.h: No such file or directory".  

Well, the file does exist in cygwin and I have no problem with it on most of the projects that I build with CodeBlocks.  Curiously, this project was originally set for the GNU GCC compiler (MinGW).    

I'm using the latest nightly build and Codeblocks self reports its version as 8150.

stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Navigation

[0] Message Index

Go to full version