在标准位置或给定位置找不到proj_api.h [英] proj_api.h not found in standard or given locations
本文介绍了在标准位置或给定位置找不到proj_api.h的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在CentOS计算机上安装 sf
软件包,但我一直收到此错误
I am trying to install the sf
package in a CentOS machine but I keep getting this error
proj_api.h
即使我运行 locate proj_api.h
,它也可以在/usr/local/include/proj_api.h
Even though when I run locate proj_api.h
it is found in /usr/local/include/proj_api.h
推荐答案
在设置PKG_CONFIG_PATH环境时,我提供了案例帮助,并将它们指向"proj.pc"文件所在的位置:
I my case help when I was set PKG_CONFIG_PATH envirmoment, and point them to place where was "proj.pc" file:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
这篇关于在标准位置或给定位置找不到proj_api.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文