News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

bogus: No such file or directory compiler error with cygwin

Started by dnewhous, July 31, 2012, 11:09:44 PM

Previous topic - Next topic

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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]