Hello,

So i try on my Desktop to compile Amaya. Want not work.

g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H
-I.. -I../../amaya/xpm -I../../thotlib/include
-I../../thotlib/internals/var -I../../thotlib/internals/h
-I../../thotlib/internals/f
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
-I/home/siefke/Downloads/Amaya11.4.4/Amaya/obj/Mesa/include
-I/usr/include/freetype2  -c ../../thotlib/image/picture.c -o
image/picture.o
../../thotlib/image/picture.c: In Funktion »ThotBool
TtaFileCopyUncompress(const char*, const char*)«:
../../thotlib/image/picture.c:2386:50: Warnung: ignoring return value
of »size_t fwrite(const void*, size_t, size_t, FILE*)«, declared
with attribute warn_unused_result
g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H
-I.. -I../../amaya/xpm -I../../thotlib/include
-I../../thotlib/internals/var -I../../thotlib/internals/h
-I../../thotlib/internals/f
-I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
-I/home/siefke/Downloads/Amaya11.4.4/Amaya/obj/Mesa/include
-I/usr/include/freetype2  -c ../../thotlib/image/pnghandler.c -o
image/pnghandler.o
../../thotlib/image/pnghandler.c: In Funktion »unsigned char*
ReadPng(FILE*, unsigned int*, unsigned int*, int*, int*,
ThotColorStruct**, int*, ThotBool*, ThotBool*)«:
../../thotlib/image/pnghandler.c:152:9: Fehler: invalid use of
incomplete type »struct png_struct«
/usr/include/png.h:857:16: Fehler: forward declaration of »struct png_struct«
../../thotlib/image/pnghandler.c:163:33: Fehler: ungültige Umwandlung
von »long unsigned int*« in »png_uint_32*«
../../thotlib/image/pnghandler.c:163:33: Fehler:   Argument 3 von
»png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*,
png_uint_32*, int*, int*, int*, int*, int*)« wird initialisiert
../../thotlib/image/pnghandler.c:163:33: Fehler: ungültige Umwandlung
von »long unsigned int*« in »png_uint_32*«
../../thotlib/image/pnghandler.c:163:33: Fehler:   Argument 4 von
»png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*,
png_uint_32*, int*, int*, int*, int*, int*)« wird initialisiert
../../thotlib/image/pnghandler.c:178:38: Fehler:
»png_set_gray_1_2_4_to_8« wurde in diesem Gültigkeitsbereich nicht
definiert
../../thotlib/image/pnghandler.c:201:21: Fehler: ungültige Umwandlung
von »long unsigned int*« in »png_uint_32*«
../../thotlib/image/pnghandler.c:201:21: Fehler:   Argument 3 von
»png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*,
png_uint_32*, int*, int*, int*, int*, int*)« wird initialisiert
../../thotlib/image/pnghandler.c:201:21: Fehler: ungültige Umwandlung
von »long unsigned int*« in »png_uint_32*«
../../thotlib/image/pnghandler.c:201:21: Fehler:   Argument 4 von
»png_uint_32 png_get_IHDR(png_struct*, png_info*, png_uint_32*,
png_uint_32*, int*, int*, int*, int*, int*)« wird initialisiert
../../thotlib/image/pnghandler.c: In Funktion »ThotBool SavePng(const
char*, unsigned char*, unsigned int, unsigned int)«:
../../thotlib/image/pnghandler.c:861:7: Fehler: invalid use of
incomplete type »struct png_struct«
/usr/include/png.h:857:16: Fehler: forward declaration of »struct png_struct«
../../thotlib/image/pnghandler.c: In Funktion »unsigned char*
ReadPng(FILE*, unsigned int*, unsigned int*, int*, int*,
ThotColorStruct**, int*, ThotBool*, ThotBool*)«:
../../thotlib/image/pnghandler.c:136:32: Warnung: ignoring return
value of »size_t fread(void*, size_t, size_t, FILE*)«, declared with
attribute warn_unused_result
make[1]: *** [image/pnghandler.o] Fehler 1
make[1]: Leaving directory
`/home/siefke/Downloads/Amaya11.4.4/Amaya/obj/thotlib'
make: *** [thotlib] Fehler 2


I run the follow command,

../configure --enable-system-wx --enable-system-libwww --enable-system-raptor


Regards
Silvio

Reply via email to