- 论坛徽章:
- 0
|
本帖最后由 qweiu 于 2013-01-05 14:47 编辑
In file included from C:/MinGW/msys/1.0/local/libjpeg/include/jpeglib.h:26:0,
from gd_jpeg.c:47:
C:/MinGW/msys/1.0/local/libjpeg/include/jmorecfg.h:162:14: 错误:与‘INT32’类型冲突
在c:/Mingw/include/basestd.h中
typedef int INT32, *PINT32;
而在libjpeg/jmorecfg.h中
typedef long INT32;
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/basetsd.h:54:13: 附注:‘INT32’的上一个声明在此
In file included from C:/MinGW/msys/1.0/local/libjpeg/include/jpeglib.h:26:0,
from gd_jpeg.c:47:
C:/MinGW/msys/1.0/local/libjpeg/include/jmorecfg.h:228:13: 错误:与‘boolean’类型冲突
在c:/Mingw/include/rpcndr.h中
typedef unsigned char boolean;
而在libjpeg/jmorecfg.h中
typedef int boolean;
我的系统是win7 64位
请问大神该如何解决 ?
好像不能修改libjpeg/jmorecfg.h中的声明,不然会影响结构体的大小。
会报这个错
JPEG parameter struct mismatch: library thinks width size is 472, caller expects 430"
|
|