libjpeg:编译错误 [英] libjpeg: compile error
本文介绍了libjpeg:编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用mingw-w64来编译libjpeg(版本8d)。我创建它的命令是:
I'm trying to compile libjpeg (version 8d) by using mingw-w64. The commands I launch to build it are:
- msys.bat
- ./ configure
-
- make
在第三步,我收到此错误:
At the third step I get this error:
$ make
D:/Builder/bin/make all-am
make[1]: Entering directory `d:/8d'
CC jaricom.lo
CC jcapimin.lo
jcapimin.c:127:1: error: conflicting types for 'jpeg_suppress_tables'
jcapimin.c:128:1: note: an argument type that has a default promotion can't match an empty parameter name list declaration
In file included from jcapimin.c:22:0:
jpeglib.h:982:14: note: previous declaration of 'jpeg_suppress_tables' was here
make[1]: *** [jcapimin.lo] Error 1
make[1]: Leaving directory `d:/8d'
make: *** [all] Error 2
有人知道如何解决吗?
推荐答案
运行
$ autoheader
$ ./configure
$ make
这篇关于libjpeg:编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文