爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 1567|回复: 9

安装完WPS之后没有Ungrib

[复制链接]

新浪微博达人勋

发表于 2017-11-27 17:43:10 | 显示全部楼层 |阅读模式

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

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

x
enc_jpeg2000.c:86: error: ‘jas_image_t’ undeclared (first use in this function)
enc_jpeg2000.c:86: error: (Each undeclared identifier is reported only once
enc_jpeg2000.c:86: error: for each function it appears in.)
enc_jpeg2000.c:86: error: expected ‘;’ before ‘image’
enc_jpeg2000.c:87: error: ‘jas_stream_t’ undeclared (first use in this function)
enc_jpeg2000.c:87: error: ‘jpcstream’ undeclared (first use in this function)
enc_jpeg2000.c:87: error: ‘istream’ undeclared (first use in this function)
enc_jpeg2000.c:88: error: ‘jas_image_cmpt_t’ undeclared (first use in this function)
enc_jpeg2000.c:88: error: expected ‘;’ before ‘cmpt’
enc_jpeg2000.c:122: error: ‘image’ undeclared (first use in this function)
enc_jpeg2000.c:129: error: ‘jas_image_coord_t’ undeclared (first use in this function)
enc_jpeg2000.c:129: error: expected ‘;’ before ‘width’
enc_jpeg2000.c:130: error: expected ‘;’ before ‘height’
enc_jpeg2000.c:138: error: ‘JAS_CLRSPC_SGRAY’ undeclared (first use in this function)
enc_jpeg2000.c:143: error: ‘cmpt’ undeclared (first use in this function)
enc_jpeg2000.c:152: error: expected ‘;’ before ‘width’
enc_jpeg2000.c:153: error: expected ‘;’ before ‘height’
enc_jpeg2000.c:154: error: ‘JAS_CLRSPC_CHANIND_GRAY_Y’ undeclared (first use in this function)
enc_jpeg2000.c:160: error: ‘pcmpt’ undeclared (first use in this function)
make[2]: [enc_jpeg2000.o] Error 1 (ignored)
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/root/Build_WRF/grib2/lib -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_jpeg2000.c
dec_jpeg2000.c:5:27: error: jasper/jasper.h: No such file or directory
dec_jpeg2000.c: In function ‘dec_jpeg2000_’:
dec_jpeg2000.c:66: error: ‘jas_image_t’ undeclared (first use in this function)
dec_jpeg2000.c:66: error: (Each undeclared identifier is reported only once
dec_jpeg2000.c:66: error: for each function it appears in.)
dec_jpeg2000.c:66: error: ‘image’ undeclared (first use in this function)
dec_jpeg2000.c:67: error: ‘jas_stream_t’ undeclared (first use in this function)
dec_jpeg2000.c:67: error: ‘jpcstream’ undeclared (first use in this function)
dec_jpeg2000.c:67: error: ‘istream’ undeclared (first use in this function)
dec_jpeg2000.c:68: error: ‘jas_image_cmpt_t’ undeclared (first use in this function)




密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-11-27 17:45:03 | 显示全部楼层
make[2]: [enc_png.o] Error 1 (ignored)
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/root/Build_WRF/grib2/lib -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_png.c
dec_png.c:5:17: error: png.h: No such file or directory
dec_png.c:6:18: error: zlib.h: No such file or directory
dec_png.c:28: warning: parameter names (without types) in function declaration
dec_png.c:30: error: expected ‘)’ before ‘png_ptr’
dec_png.c: In function ‘dec_png_’:
dec_png.c:56: error: ‘png_structp’ undeclared (first use in this function)
dec_png.c:56: error: (Each undeclared identifier is reported only once
dec_png.c:56: error: for each function it appears in.)
dec_png.c:56: error: expected ‘;’ before ‘png_ptr’
dec_png.c:57: error: ‘png_infop’ undeclared (first use in this function)
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-11-27 17:45:49 | 显示全部楼层
ake[2]: [dec_jpeg2000.o] Error 1 (ignored)
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG pngpack.F > pngpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pngpack.f90
/bin/rm -f pngpack.f90
/usr/bin/cpp -P -traditional -DUSE_JPEG2000 -DUSE_PNG pngunpack.F > pngunpack.f90
gfortran -c -ffixed-form -O -fconvert=big-endian -frecord-marker=4 pngunpack.f90
/bin/rm -f pngunpack.f90
gcc -c  -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL  -I/root/Build_WRF/grib2/lib -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_png.c
enc_png.c:5:17: error: png.h: No such file or directory
enc_png.c:6:18: error: zlib.h: No such file or directory
enc_png.c:28: warning: parameter names (without types) in function declaration
enc_png.c:29: warning: parameter names (without types) in function declaration
enc_png.c:31: error: expected ‘)’ before ‘png_ptr’
enc_png.c:51: error: expected ‘)’ before ‘png_ptr’
enc_png.c: In function ‘enc_png_’:
enc_png.c:67: error: ‘png_structp’ undeclared (first use in this function)
enc_png.c:67: error: (Each undeclared identifier is reported only once
enc_png.c:67: error: for each function it appears in.)
enc_png.c:67: error: expected ‘;’ before ‘png_ptr’
enc_png.c:68: error: ‘png_infop’ undeclared (first use in this function)
enc_png.c:68: error: expected ‘;’ before ‘info_ptr’
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-11-27 17:46:12 | 显示全部楼层
这是其中的报错
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-11-27 18:23:18 | 显示全部楼层
没ungrib就是你jasper没装好,或者路径没设对
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-12-13 13:28:27 | 显示全部楼层
已经解决了,就是,官网有相应的bug解决方法
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-13 17:29:35 | 显示全部楼层
我正好相反,只有ungrid,没有其他两个exe
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-12-15 14:18:21 | 显示全部楼层
physzw 发表于 2017-12-13 17:29
我正好相反,只有ungrid,没有其他两个exe

那应该是本身安装包安装的不对吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-27 18:35:45 | 显示全部楼层
良久 发表于 2017-12-13 13:28
已经解决了,就是,官网有相应的bug解决方法

你好,我目前编译WPS时也出现了只有ungrib.exe未曾出现的情况,报错为enc_jpeg2000.c:141: error: ‘jas_image_t’ has no member named ‘inmem_’,和你这个比较类似,请问下你是如何解决的? 感谢!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-27 18:35:51 | 显示全部楼层
良久 发表于 2017-12-13 13:28
已经解决了,就是,官网有相应的bug解决方法

你好,我目前编译WPS时也出现了只有ungrib.exe未曾出现的情况,报错为enc_jpeg2000.c:141: error: ‘jas_image_t’ has no member named ‘inmem_’,和你这个比较类似,请问下你是如何解决的? 感谢!
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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