project won't compile [message #1859196] |
Thu, 18 May 2023 15:46 |
Eclipse User |
|
|
|
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 130 times)
|
|
|
Powered by
FUDForum. Page generated in 0.02388 seconds