分页: 1 / 1
编译出错(libgdiplus-2.4),如何解决?
发表于 : 2009-06-29 10:58
由 benetcs
代码: 全选
checking if compiler recognizes -pthread... yes
checking for sigsetjmp... yes
checking for visibility __attribute__... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for DGifOpenFileName in -lgif... no
configure: WARNING: *** GIF loader will not be built (giflibrary not found) ***
checking for DGifOpenFileName in -lungif... no
configure: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***
checking for libpng12... yes
checking for LIBEXIF... no
./configure: line 23229: test: too many arguments
configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths"
找了半天也没有找到giflibrary相关的文件,高手指点一下!
Re: 编译出错(libgdiplus-2.4),如何解决?
发表于 : 2009-06-29 12:17
由 HuntXu
libgif-dev,找找?
Re: 编译出错(libgdiplus-2.4),如何解决?
发表于 : 2009-06-29 14:29
由 benetcs
谢谢!搞定了
Re: 编译出错(libgdiplus-2.4),如何解决?
发表于 : 2009-06-30 9:37
由 benetcs
在libgdiplus configure的时候有一个经典错误:
代码: 全选
configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths"
解决办法(注意不要在/路径操作):
代码: 全选
1. cd /data/soft/mono
2. wget http://ftp.ntu.edu.tw/cygwin/release/X11/xorg-x11-devel/xorg-x11-devel-6.8.99.901-1.tar.bz2
3. tar -zxvf xorg-x11-devel-6.8.99.901-1.tar.bz2
4. cp -r etc/* /etc
5. cp -r usr/* /usr
6. rm -r etc #不删也好,别把/etc删了
7. rm -r usr #不删也好,别把/usr删了
8. cd /etc/postinstall
9. ./xorg-x11-devel.sh
按此方法出现如下错误:
代码: 全选
cp: 无法以非目录来覆盖目录 “/usr/include/X11”
cp: 无法以目录 “usr/X11R6/bin” 来覆盖非目录 “/usr/X11R6/bin”
不知如何解决???
Re: 编译出错(libgdiplus-2.4),如何解决?
发表于 : 2009-10-16 14:54
由 zwx_yal
我解决了,sudo apt-get install xorg-dev