注意点在于, 头文件在另外一个包system/header里,需要另外安装 pkg install developer/gcc-45 pkg install system/header 转载于:https://www.cnblogs.com/johnsonshu/p/5233728.html