Author Topic: bogus: No such file or directory compiler error with cygwin  (Read 4219 times)

Offline dnewhous

  • Single posting newcomer
  • *
  • Posts: 8
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.

Online stahta01

  • Lives here!
  • ****
  • Posts: 6769
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org