ServerSocket.h: No such file or directory

ServerSocket.h: No such file or directory

This error comes when i compile my program . I think this error is something related to the including of libraries. plz help me to over come this problem.
Thanks
The compiler is telling you that it cannot find ServerSocket.h in the project's path. So somewhere you must have a #include <ServerSocket.h> or a #include "ServerSocket.h" .

If ServerSocket.h is part of a library you are using, you should probably be using #include <ServerSocket.h> (note the < and >) and you'll need to tell your compiler or IDE that you are grabbing include files from whatever directory that file is in.

For example, if you're using gcc/g++, and ServerSocket.h is in libraries/x/ then you need to say something like g++ -Ilibraries/x/.

Note that after the - is an I, as in a capital i, not a lower case L. So it goes like g++ -I[library directory] file_to_compile.cpp

Something like that anyway, I'm tired, I'm going to bed.
Thanks .. I'll try that out.. thanks for the guidance..
Topic archived. No new replies allowed.