마침내 mingw와 msys를 설정 했으므로 libjpeg를 컴파일하려고합니다. 프로젝트 페이지 (jpeg-8d)에서 최신 libjpeg 소스를 다운로드하고 파일을 추출했습니다. ,mingw로 libjpeg 컴파일
$ make
make all-am
make[1]: Entering directory `/D/Libraries/sources/jpeg-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/Libraries/sources/jpeg-8d'
make: *** [all] Error 2
내가 여기이 게시물을 보았다
그때 나는이 같은 configure 명령 실행 : 내가 메이크업과 빌드를하고 싶어 그 이후./configure --build=x86_64-w64-mingw32 --prefix=/D/Libraries/bin/jpegd-8d
을하지만, 나는 다음과 같은 오류가 발생합니다 어떤 사람이 나와 같은 문제가있는 곳 : libjpeg: compile error
"autoheader"명령을 실행하는 것이 좋습니다. 나는이 일을했지만, 나는 다음과 같은 오류 있어요 :
sh: autoheader:command not found
내가 autoheader과와 Mingw/MSYS에 대한 구글하지만 난 대답을 찾을 수 있습니다.
제 질문은 다음과 같습니다.이 솔루션을 컴파일 할 수있는 또 다른 해결책이 있습니까? 그렇지 않은 경우 어떻게 msys/mingw64에 필요한 도구를 설치할 수 있습니까?
감사
#define HAVE_PROTOTYPES 1을 jconfig.h에 설정하십시오. – pogorskiy
감사합니다. 마침내 작동합니다. 이것을 답변으로 게시하면 정답으로 표시 할 수 있습니다. – Maecky