Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » project won't compile(missing include)
project won't compile [message #1859196] Thu, 18 May 2023 19:46
sydney faria is currently offline sydney fariaFriend
Messages: 54
Registered: March 2013
Member
From an older book on c algorithms I put a few files (,h and .c ) into a new project . The compiler gives the error:

C:\C_algorithms_with_C\examples\compress\huffman.c [Error] netinet/in.h: No such file or directory.

From the attached file one can see that the in.h header file is included in the system #includes, but the compiler can't find it! Maybe this library file is now deprecated? I did find a copy of this .h file on the internet. So I pasted it into the project folder and then included it via #include "netinet/in.h" since it now was a local file in the project folder! This error now went away, but now I got 3 errors about missing variables! Is this system library deprecated and no longer used? Or am I missing something here?
wt1v/syd
  • Attachment: includes.PNG
    (Size: 25.77KB, Downloaded 97 times)
Previous Topic:[C] Cross compiled x86 code not connecting to broker
Next Topic:C++ Neon Compiler Error: INT_MAX was not declared in this scope/could not be resolved.
Goto Forum:
  


Current Time: Tue Jan 14 04:16:16 GMT 2025

Powered by FUDForum. Page generated in 0.04776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top