Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在mac上添加graphics.h库?_C_Macos_Libraries - Fatal编程技术网

如何在mac上添加graphics.h库?

如何在mac上添加graphics.h库?,c,macos,libraries,C,Macos,Libraries,我想用C程序画一个矩形。所以我尝试使用graphics.h标题。但是GCC编译器给了我一个错误,说找不到库 如果有人能帮我,我将不胜感激。graphics.h不是标准的C头,可能是自定义库的一部分。如果您可以追踪原始库并提供更多信息,我们可能会帮助您设置它。graphics.h是定义(Borland graphics Interface)函数的标题 除非你的Mac电脑上安装了某种Borland编译器(如果可能的话),否则你最终将不得不使用其他图形库,或者在Mac电脑上安装Windows/Linu

我想用C程序画一个矩形。所以我尝试使用
graphics.h
标题。但是GCC编译器给了我一个错误,说找不到库


如果有人能帮我,我将不胜感激。

graphics.h
不是标准的C头,可能是自定义库的一部分。如果您可以追踪原始库并提供更多信息,我们可能会帮助您设置它。

graphics.h
是定义(Borland graphics Interface)函数的标题


除非你的Mac电脑上安装了某种Borland编译器(如果可能的话),否则你最终将不得不使用其他图形库,或者在Mac电脑上安装Windows/Linux虚拟机,然后在其中运行/编译代码。

谢谢。我应该从哪里开始找呢?我一直试图找到gcc库,但没有成功。