The error means either libnet.h doesn't exist on your computer or the compiler is not looking in the correct place. First look for this file. If you don't find it then you need to install something. If you do find it then you need to add the location to the compiler's header file search path.