Hi list,
I hope this is the right place to ask this question ... I'm trying to compile the cvs versin of gem with dev-c++ on win2k. There is an error compiling GemPixImageLoad.cpp, see the log:
g++.exe -c Gem/src/Base/GemPixImageLoad.cpp -o Gem/src/Base/GemPixImageLoad.o -I"d:/programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"d:/programme/Dev-Cpp/include/c++/3.4.2/backward" -I"d:/programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"d:/programme/Dev-Cpp/include/c++/3.4.2" -I"d:/programme/Dev-Cpp/include" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/tiff-3.7.2/libtiff" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/pd/src" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/Gem/src" -D__GNUWIN32__ -mcpu=pentiumpro -D_M_IX86=600 -W -finline-functions -DNDEBUG -DWIN32 -D_WINDOWS -DNT -D_LANGUAGE_C_PLUS_PLUS -DWIN32_LEAN_AND_MEAN -DGEM_INTERNAL -march=pentium3 -msse
In file included from D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jpeglib.h:24, from Gem/src/Base/GemPixImageLoad.cpp:57: D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jconfig.h:45:30: warning: no newline at end of file In file included from D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jpeglib.h:26, from Gem/src/Base/GemPixImageLoad.cpp:57: D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jmorecfg.h:161: error: conflicting declaration 'typedef long int INT32'
d:/programme/Dev-Cpp/include/basetsd.h:52: error: 'INT32' has a previous declaration as `typedef int INT32'
D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jmorecfg.h:161: error: declaration of `typedef long int INT32'
d:/programme/Dev-Cpp/include/basetsd.h:52: error: conflicts with previous declaration `typedef int INT32'
D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/libs/jpeg-6b/jmorecfg.h:161: error: declaration of `typedef long int INT32'
d:/programme/Dev-Cpp/include/basetsd.h:52: error: conflicts with previous declaration `typedef int INT32'
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
make.exe: *** [Gem/src/Base/GemPixImageLoad.o] Error 1
Execution terminated
I downloaded the libjeg in question from http://www.ijg.org/files/jpegsrc.v6b.tar.gz , there was a file "jconfig.h" missing, which I downloaded from http://www.entropy.ch/viewcvs/trunk/EpegWrapper/libjpeg/jconfig.h?rev=156 . I guess this had to go wrong ...
I'd appreciate any help, thoralf.
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de