2012-05-31 4 views
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 

을 누군가 그것을 해결하는 방법을 알고 있습니까?

+1

이미 다른 곳에 설치 libjpeg의 다른 버전을 가지고 있습니까? – Brady

+0

아니요, 가지고있는 버전은 – RobRock

+0

입니다. 이전 버전의'jpeg_suppress_tables'에 대한 충돌하는 정의가 있는지 확인하면됩니다. – Brady

답변

11

실행

$ autoheader 
$ ./configure 
$ make