[wxWidgets 2.8.0] Update - Fehler beim Compilieren
-
Hallo.
Das spuckt MSYS aus, wenn ich versuche, wxWidgets 8.0 zu compilieren:
In file included from ../src/jpeg/jcomapi.c:14: ../src/jpeg/jpeglib.h:94: error: syntax error before "boolean" ../src/jpeg/jpeglib.h:94: warning: no semicolon at end of struct or union ../src/jpeg/jpeglib.h:95: warning: type defaults to `int' in declaration of `JQUANT_TBL' ../src/jpeg/jpeglib.h:95: warning: data definition has no type or storage class ../src/jpeg/jpeglib.h:110: error: syntax error before "boolean" ../src/jpeg/jpeglib.h:110: warning: no semicolon at end of struct or union ../src/jpeg/jpeglib.h:111: warning: type defaults to `int' in declaration of `JHUFF_TBL' ../src/jpeg/jpeglib.h:111: warning: data definition has no type or storage class ../src/jpeg/jpeglib.h:160: error: syntax error before "boolean" ../src/jpeg/jpeglib.h:160: warning: no semicolon at end of struct or union ../src/jpeg/jpeglib.h:175: error: syntax error before '*' token ../src/jpeg/jpeglib.h:175: warning: type defaults to `int' in declaration of `quant_table' ../src/jpeg/jpeglib.h:175: warning: data definition has no type or storage class ../src/jpeg/jpeglib.h:179: error: syntax error before '}' token ../src/jpeg/jpeglib.h:179: warning: type defaults to `int' in declaration of `jpeg_component_info' ../src/jpeg/jpeglib.h:179: warning: data definition has no type or storage class ../src/jpeg/jpeglib.h:254: error: syntax error before "boolean" ../src/jpeg/jpeglib.h:254: warning: no semicolon at end of struct or union ../src/jpeg/jpeglib.h:259: error: syntax error before '}' token ../src/jpeg/jpeglib.h:269: error: syntax error before "boolean" ../src/jpeg/jpeglib.h:269: warning: no semicolon at end of struct or union ../src/jpeg/jpeglib.h:299: error: syntax error before '*' token ../src/jpeg/jpeglib.h:299: warning: type defaults to `int' in declaration of `comp_info' [...] ../src/jpeg/jcomapi.c:88: error: for each function it appears in.) ../src/jpeg/jcomapi.c:90: error: syntax error before ')' token ../src/jpeg/jcomapi.c:91: error: dereferencing pointer to incomplete type ../src/jpeg/jcomapi.c: At top level: ../src/jpeg/jcomapi.c:97: error: syntax error before '*' token ../src/jpeg/jcomapi.c:99: warning: return type defaults to `int' ../src/jpeg/jcomapi.c: In function `jpeg_alloc_huff_table': ../src/jpeg/jcomapi.c:100: error: `tbl' undeclared (first use in this function) ../src/jpeg/jcomapi.c:102: error: syntax error before ')' token ../src/jpeg/jcomapi.c:103: error: dereferencing pointer to incomplete type make: *** [wxjpeg_jcomapi.o] Error 1
Das ist mein configure:
../configure --enable-xrc --enable-unicode --enable-stl -enable-shared -enabl e-monolithic
Scheinbar ist da was mit dem Compiler nicht in Ordnung; in den angegebenen Dateien schaut eigentlich alles normal aus:
typedef struct { /* This array gives the coefficient quantizers in natural array order * (not the zigzag order in which they are stored in a JPEG DQT marker). * CAUTION: IJG versions prior to v6a kept this array in zigzag order. */ UINT16 quantval[DCTSIZE2]; /* quantization step for each coefficient */ /* This field is used only during compression. It's initialized FALSE when * the table is created, and set TRUE when it's been output to the file. * You could suppress output of a table by setting this to TRUE. * (See jpeg_suppress_tables for an example.) */ boolean sent_table; /* TRUE when table has been output */ /*!Zeile 94!*/ } JQUANT_TBL;
Gestern oder so hab ich erst MinGW auf den neuersten Stand gebraucht. Obs daran liegt?
Bei wxWidgets 2.6.3 lief's insgesamt 3 mal glatt - k.A. was das jetzt soll.Danke für jede Hilfe,
kynarion
-
hm, ka. 2.8 ist aber auch noch unstable, ich selber würde mit 2.6.3 oder 2.7 es mal versuchen.
Ansonsten evtl. mal auf der Mailingliste oder im offiziellen wxForum nachfragen.
-
2.6.3 ist ja keine Neuerung (weil wie gesgt schon dreimal vorhanden
) und 2.7 ist scheinbar von der Bildfläche verschwunden. Ich compilier 2.6.3 trotzdem noch mal, damit ich weiß, obs am Compiler liegt.
Und unstable hin oder her mann muss es doch installieren können.
-
Compiliert fröhlich dahin. Die kritische Stelle ist schon längst vorbei.
-
Nächster Versuch mit einer CVS-Version am selben Problem gescheitert.