4
我想通過使用mingw-w64編譯libjpeg(版本8d)。我啓動建立它的命令是:libjpeg:編譯錯誤
- msys.bat
- 的./configure
- 使
在第三步中我得到這個錯誤:
$ 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
有人知道如何解決它嗎?
您是否已經安裝在其他地方的libjpeg的另一個版本? – Brady
不,這是我擁有的唯一版本 – RobRock
好吧,只需檢查是否存在來自舊版本的'jpeg_suppress_tables'的衝突定義。 – Brady