爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7078|回复: 3

安装WPS时出现大片错误 ,大神们能帮忙看下吗

[复制链接]
发表于 2020-8-9 22:15:07 | 显示全部楼层 |阅读模式

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

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

x
一、
./ngl/libg2_4.a(dec_jpeg2000.o): In function `dec_jpeg2000_':
dec_jpeg2000.c:(.text+0x12): undefined reference to `jas_stream_memopen'
dec_jpeg2000.c:(.text+0x1f): undefined reference to `jpc_decode'
dec_jpeg2000.c:(.text+0x6a): undefined reference to `jas_matrix_create'
dec_jpeg2000.c:(.text+0x93): undefined reference to `jas_image_readcmpt'
dec_jpeg2000.c:(.text+0x22e): undefined reference to `jas_matrix_destroy'
dec_jpeg2000.c:(.text+0x236): undefined reference to `jas_stream_close'
dec_jpeg2000.c:(.text+0x23e): undefined reference to `jas_image_destroy'
./ngl/libg2_4.a(dec_png.o): In function `user_read_data':
dec_png.c:(.text+0xb): undefined reference to `png_get_io_ptr'
./ngl/libg2_4.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0x67): undefined reference to `png_sig_cmp'
dec_png.c:(.text+0x7f): undefined reference to `png_create_read_struct'
dec_png.c:(.text+0x94): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0xaa): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0xca): undefined reference to `png_set_longjmp_fn'
dec_png.c:(.text+0xfd): undefined reference to `png_set_read_fn'
dec_png.c:(.text+0x10e): undefined reference to `png_read_png'
dec_png.c:(.text+0x11b): undefined reference to `png_get_rows'
dec_png.c:(.text+0x159): undefined reference to `png_get_IHDR'
dec_png.c:(.text+0x25e): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x28a): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x2b7): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x2e2): undefined reference to `png_destroy_read_struct'
Makefile:18: recipe for target 'ungrib.exe' failed
make[1]: [ungrib.exe] Error 1 (ignored)
make[1]: Leaving directory '/home/whl/usr/WRF/WPS/ungrib/src'

二、
can_input.f90(16): error #7012: The module file cannot be read.  Its format requires a more recent F90 compiler.   [NETCDF]
    use netcdf
--------^
scan_input.f90(76): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOWRITE]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
-----------------------------------------^
scan_input.f90(76): error #6404: This name does not have a type, and must have an explicit type.   [NF90_OPEN]
        stat = nf90_open(trim(filename), NF90_NOWRITE, handle % ncid)
---------------^
scan_input.f90(77): error #6404: This name does not have a type, and must have an explicit type.   [NF90_NOERR]
        if (stat /= NF90_NOERR) then
--------------------^
scan_input.f90(82): error #6632: Keyword arguments are invalid without an explicit interface.   [NVARIABLES]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
-------------------------------------------^
scan_input.f90(82): error #6404: This name does not have a type, and must have an explicit type.   [NF90_INQUIRE]
        stat = nf90_inquire(handle % ncid, nVariables=handle % num_vars)
---------------^
scan_input.f90(99): error #6632: Keyword arguments are invalid without an explicit interface.   [UNLIMITEDDIMID]
        stat = nf90_inquire(handle % ncid, unlimitedDimId=handle % unlimited_dimid)



密码修改失败请联系微信:mofangbao
 成长值: 0
发表于 2020-8-10 17:10:55 | 显示全部楼层
第一个问题 检查你的jasper是不是1.900.1版本的,顺便看看你有没有安装jpeg和png库。第2个问题,检查一下你的fortran编译器是不是版本太低?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2020-8-15 20:55:21 | 显示全部楼层
楼上正解,顺便再查一下netcdf你安装好没
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-8-20 18:26:13 | 显示全部楼层
解决啦  是netcdf编译器版本和wps不一致导致的
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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