科学网

 找回密码
  注册

tag 标签: lasrc

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

LEDAPS&LaSRC安装(3)
sunqing3020590 2018-10-24 15:41
下载: http://edclpdsftp.cr.usgs.gov/downloads/auxiliaries/lasrc_auxiliary/lasrc_aux.2013-2017.tar.gz 设置环境变量: exportL8_AUX_DIR=directory_saved_auxiliary_files 安装lasrc: cdlasrc\\c_version\\src make makeinstall cdlasrc\\landsat_aux\\src make makeinstall 生成可执行文件在之前设置好的$PREFIX/bin的目录下(PREFIX=/home/chexh/ESPA/) 安装ledaps: 设置环境变量: exportLEDAPS_AUX_DIR=/home/chexh/ESPA/espa-surface-reflectance/ledaps/ 安装: cdledaps\\ledapsSrc\\src make makeinstall makeclean cdledaps\\ledapsAncSrc make makeinstall makeclean 出错: apt-get install 的netcdf库错误,手动安装解决 ncep_reanalysis_surface_repackage.c:833:14: error: ‘NC_UINT’ undeclared (first use in this function) case NC_UINT: ^ ncep_reanalysis_surface_repackage.c:835:14: error: ‘NC_INT64’ undeclared (first use in this function) case NC_INT64: ^ ncep_reanalysis_surface_repackage.c:837:14: error: ‘NC_UINT64’ undeclared (first use in this function) case NC_UINT64: ^ Makefile:90: recipe for target 'ncep_reanalysis_surface_repackage.o' failed make: *** Error 1 2. 编译源码netcdf4库的时候出错 显示Can't find or link to the hdf5 library 参考:https://tuxcoder.wordpress.com/2015/02/02/install-netcdf4-with-hdf5-in-ubuntu-linux/ 解决方法,指定CPPFLAGS和LDFLAGS (一行命令,不要分开): CPPFLAGS=-I/mnt/d/Ubuntu/lib/szip-master/src/ -I/home/chexh/LIBS/hdf5-1.10.4/include/ LDFLAGS=-L/mnt/d/Ubuntu/lib/szip-master/src/ -L/home/chexh/LIBS/hdf5-1.10.4/lib/ ./configure --prefix=/home/chexh/LIBS/netcdf-4.6.1/ --enable-netcdf-4 --enable-shared 3.编译源码netcdf4库的时候出错 显示错误: /shome/2007asz8296/netcdf-4.1.3/include /usr/bin/install-c-m644netcdf.h '/shome/2007asz8296/netcdf-4.1.3/include' /usr/bin/install:`netcdf.h'and `/shome/2007asz8296/netcdf-4.1.3/include/netcdf.h'arethesamefile make :*** Error1 make :Leavingdirectory`/shome/2007asz8296/netcdf-4.1.3/include' make :*** Error2 make :Leavingdirectory`/shome/2007asz8296/netcdf-4.1.3/include' make:*** Error1 解决方法:不要将netcdf的安装源文件的目录作为目标安装目录,须新建一个安装目录。
3498 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-29 19:23

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部