Hi, I have a very simple programming question. I am using the time.h library in sv_main.c file in ioquake3. And, it is working totally fine. Now, I am trying to use the time.h library in ioquake3's ai_,main.c file. But, I am getting the below compilation errors. I am guess it has something to do with the Makefile.
Does anyone know what is wrong?
Note: To make sure that sys/time.h file existed, I created a small program that uses sys/time.h library, and compiled it using g++ on the same server as ioquake3. And, it worked totally fine. Btw, as you may have guessed, I am very green to linux.
make[2]: Entering directory `/r/home7/ioquake3dev_clean' make[2]: `build/release-linux-ppc64/ioq3ded.ppc64' is up to date. make[2]: `build/release-linux-ppc64/ioquake3.ppc64' is up to date. make[2]: `build/release-linux-ppc64/baseq3/cgameppc64.so' is up to date. make[2]: `build/release-linux-ppc64/baseq3/qagameppc64.so' is up to date. make[2]: `build/release-linux-ppc64/baseq3/uippc64.so' is up to date. make[2]: `build/release-linux-ppc64/missionpack/cgameppc64.so' is up to date. make[2]: `build/release-linux-ppc64/missionpack/qagameppc64.so' is up to date. make[2]: `build/release-linux-ppc64/missionpack/uippc64.so' is up to date. make[2]: `build/release-linux-ppc64/baseq3/vm/cgame.qvm' is up to date. GAME_Q3LCC code/game/ai_main.c cpp: code/game/ai_main.c:2712 Could not find include file <sys/time.h> make[2]: *** [build/release-linux-ppc64/baseq3/game/ai_main.asm] Error 1 make[2]: Leaving directory `/r/home7/ioquake3dev_clean' make[1]: *** [targets] Error 2 make[1]: Leaving directory `/r/home7/ioquake3dev_clean' make: *** [release] Error 2