This question shows research effort; it is useful and clear
3
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有一个用 C 语言编写的使用 libpng 的小实用程序。在 linux 下,我只需安装 libpng-dev 并执行“gcc myapp.c /usr/lib/libpng.so -o myapp”。在 Mac OS X 中,我安装了 Xcode 工具,我相信其中包括 libpng。我要链接什么,我是否需要为 png.h 指定包含路径?