㈠ 用gcc编译c程序出现 fatal error: graphics.h: No such file or directory compilation terminated.
graphics.h is including a c++ header sstream, you can't use it when compiling with a c compiler, switch your code to c++, that can be done by simply changing the file extension to .cpp for example or .cc and gcc will automatically use g++ when compiling the file.
大致的意思是,graphics.h 这个文件属于c++里面的,尘备应该使用g++来编译,或者是gcc-c++来搭陆编译,而派枝毁你现在是c程序,不支持这个头文件。你再检查下?
㈡ Ubuntu编译Android错误,compilation terminated
没找到srtp.h这个头文件,倒数第6行那个路径肯定不对。
你要在Android.mk文件中指定正确的头文件所在目录的路径。
㈢ c语言 gcc编译器下 time()报错如何解决
time_t.TOxxx();//改变时间格式,然后应用新的时间格式打印就可以了,如printf("%s",time().ToString);