当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 安装GDAL有错误,本人菜鸟,还请帮忙
帖子发表于 : 2016-07-22 10:18 

注册: 2016-07-22 10:05
帖子: 1
系统: ubuntu14.04.1
送出感谢: 0 次
接收感谢: 0 次
安装GDAL的时候有错误,我感觉是缺了什么数据库一类的。。。给个解决方案,本人刚接触ubuntu系统,谢谢!
In file included from gifdataset.cpp:36:0:
/usr/include/gif_lib.h:129:14: note: previous declaration 'GifFileType* EGifOpen(void*, OutputFunc, int*)'
 GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
              ^
gifdataset.cpp: In destructor 'virtual GIFDataset::~GIFDataset()':
gifdataset.cpp:308:33: error: too few arguments to function 'int DGifCloseFile(GifFileType*, int*)'
         DGifCloseFile( hGifFile );
                                 ^
In file included from gifdataset.cpp:36:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
gifdataset.cpp: In static member function 'static GDALDataset* GIFDataset::Open(GDALOpenInfo*)':
gifdataset.cpp:375:45: error: too few arguments to function 'GifFileType* DGifOpen(void*, InputFunc, int*)'
     hGifFile = DGifOpen( fp, VSIGIFReadFunc );
                                             ^
In file included from gifdataset.cpp:36:0:
/usr/include/gif_lib.h:182:14: note: declared here
 GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error);    /* new
              ^
gifdataset.cpp:392:31: error: too few arguments to function 'int DGifCloseFile(GifFileType*, int*)'
         DGifCloseFile(hGifFile);
                               ^
In file included from gifdataset.cpp:36:0:
/usr/include/gif_lib.h:183:9: note: declared here
     int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
         ^
gifdataset.cpp: In function 'GDALDataset* GIFCreateCopy(const char*, GDALDataset*, int, char**, GDALProgressFunc, void*)':
gifdataset.cpp:547:44: error: 'MakeMapObject' was not declared in this scope
         psGifCT = MakeMapObject( 256, NULL );
                                            ^
gifdataset.cpp:563:51: error: 'MakeMapObject' was not declared in this scope
         psGifCT = MakeMapObject( nFullCount, NULL );
                                                   ^
gifdataset.cpp:587:30: error: 'FreeMapObject' was not declared in this scope
         FreeMapObject(psGifCT);
                              ^
gifdataset.cpp:588:23: error: 'PrintGifError' was not declared in this scope
         PrintGifError();
                       ^
gifdataset.cpp:594:26: error: 'FreeMapObject' was not declared in this scope
     FreeMapObject(psGifCT);
                          ^
gifdataset.cpp:612:23: error: 'PrintGifError' was not declared in this scope
         PrintGifError();
                       ^
gifdataset.cpp:666:31: error: too few arguments to function 'int EGifCloseFile(GifFileType*, int*)'
     if (EGifCloseFile(hGifFile) == GIF_ERROR)
                               ^
In file included from gifdataset.cpp:36:0:
/usr/include/gif_lib.h:132:5: note: declared here
 int EGifCloseFile(GifFileType *GifFile, int *ErrorCode);
     ^
../../GDALmake.opt:384: recipe for target '../o/gifdataset.lo' failed
make[2]: *** [../o/gifdataset.lo] Error 1
make[2]: Leaving directory '/home/hyc/GDAL/gdal-1.6.2/frmts/gif'
GNUmakefile:10: recipe for target 'gif-install-obj' failed
make[1]: *** [gif-install-obj] Error 2
make[1]: Leaving directory '/home/hyc/GDAL/gdal-1.6.2/frmts'
GNUmakefile:65: recipe for target 'frmts-target' failed
make: *** [frmts-target] Error 2


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译