- 积分
- 302
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-3-7
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
问题描述:
安装g2clib库时,其依赖库jasper库已经安装成功。 在路径:/public/home/user/anzi/Build_WRF/grads/supplibs/include中也存在japser文件夹,其中包含jasper.h及其依赖的.h文件
设置环境变量SUPPLIBS=/public/home/user/anzi/Build_WRF/grads/supplibs
接下来在安装g2clib时,先修改makefile中INC参数为INC=-I$SUPPLUBS/include(还有其他依赖库的参数,此处省略),
之后开始安装g2clib库,紧接着报出如下错误提示:
dec_jpeg2000.c
dec_jpeg2000.c:8:27: error: jasper/jasper.h: No such file or directory
dec_jpeg2000.c: In function 'dec_jpeg2000':
dec_jpeg2000.c:55: error: 'jas_image_t' undeclared (first use in this function)
dec_jpeg2000.c:55: error: (Each undeclared identifier is reported only once
dec_jpeg2000.c:55: error: for each function it appears in.)
dec_jpeg2000.c:55: error: 'image' undeclared (first use in this function)
dec_jpeg2000.c:56: error: 'jas_stream_t' undeclared (first use in this function)
dec_jpeg2000.c:56: error: 'jpcstream' undeclared (first use in this function)
dec_jpeg2000.c:57: error: 'jas_image_cmpt_t' undeclared (first use in this function)
dec_jpeg2000.c:57: error: 'pcmpt' undeclared (first use in this function)
dec_jpeg2000.c:59: error: 'jas_matrix_t' undeclared (first use in this function)
dec_jpeg2000.c:59: error: 'data' undeclared (first use in this function)
make: *** [libg2c_v1.6.0.a(dec_jpeg2000.o)] Error 1
请问大佬们知道是哪里出了问题吗?
跪谢!!!
|
|