爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6488|回复: 0

grads安装g2clib报错

[复制链接]
发表于 2019-9-20 19:45:02 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

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


请问大佬们知道是哪里出了问题吗?
跪谢!!!


密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表