当前位置: 技术问答>linux和unix
小白求助路径问题
来源: 互联网 发布时间:2016-11-14
本文导语: 刚接触Unix,现在需要编译安装别人的一个程序PMVS,程序包放在 /home/XXX/下载 在程序的子文件夹中,编译makefile文件之前,需要修改makefile: # Your INCLUDE path (e.g., -I/usr/include) YOURINCLUDEPATH = # Your LDLIBRARY path (e.g....
刚接触Unix,现在需要编译安装别人的一个程序PMVS,程序包放在
/home/XXX/下载
在程序的子文件夹中,编译makefile文件之前,需要修改makefile:
# Your INCLUDE path (e.g., -I/usr/include)
YOURINCLUDEPATH =
# Your LDLIBRARY path (e.g., -L/usr/lib)
YOURLDLIBPATH =
这两个要填进去的变量我填成:
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
编译不对,实在小白,请教应该怎么填?谢谢!
/home/XXX/下载
在程序的子文件夹中,编译makefile文件之前,需要修改makefile:
# Your INCLUDE path (e.g., -I/usr/include)
YOURINCLUDEPATH =
# Your LDLIBRARY path (e.g., -L/usr/lib)
YOURLDLIBPATH =
这两个要填进去的变量我填成:
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
编译不对,实在小白,请教应该怎么填?谢谢!
|
# Your INCLUDE path (e.g., -I/usr/include)
YOURINCLUDEPATH =
# Your LDLIBRARY path (e.g., -L/usr/lib)
YOURLDLIBPATH =
这两个要填进去的变量我填成:
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
看意思好像要你把-I和-L也加上哦
YOURINCLUDEPATH =
# Your LDLIBRARY path (e.g., -L/usr/lib)
YOURLDLIBPATH =
这两个要填进去的变量我填成:
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
看意思好像要你把-I和-L也加上哦
|
有个问题
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
你这里的路径有没有打错?
把/usr....达成/use....
另外你编译不通过报了什么错误?
YOURINCLUDEPATH = /usr/include:/use/local/include
YOURLDLIBPATH = /usr/lib:/use/local/lib
你这里的路径有没有打错?
把/usr....达成/use....
另外你编译不通过报了什么错误?