I'm currently trying to compile my file traceroutet.c
through a virtual machine running Ubuntu, which I think is causing the problem. I'm also accessing files through my university's VPN, could that cause issues?
Whenever I try to compile through the vm's terminal using gcc -o traceroutet traceroutet.c
I get this error:
traceroutet.c:13:16: fatal error: ip.h: No such file or directory
compilation terminated
The thing is, my header files are saved in the same folder as my source, so I thought gcc -o
would work here? I've also tried using -I/h/SCC203/Lab 2/ip.c
when compiling too, but I get a similar error.
I've been using gcc
a while now and never had a problem with it, so I'm guessing this is something to do with the virtual machine or VPN?