访问量: 182 次浏览
最近要对MODIS数据进行处理,所有下载了MRT进行安装。这个软件已经比较成熟了。
直接进行编译,出现下面问题:
In file included from mosaic.c:32:
../shared_src/mrt_dtype.h:41:6: error: #elif with no expression
mosaic.c: In function ‘getInputFileNamesFromFile’:
mosaic.c:1874: warning: implicit declaration of function ‘isspace’
make[1]: *** [mosaic.o] Error 1
make[1]: Leaving directory `/v/mrtmosaic'
make: *** [all-recursive] Error 2
解决方法很简单,打开mrt_type.h文件,将第41行的#elif修改为#else,保存后重新编译即可。