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
Thoralf Schulze wrote:
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:
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 ..
libjpeg should be included in the GemLibs. could you try with those http://gem.iem.at/download/GemLibs-NT-1.zip ?
mfg.ad.sr IOhannes
hi johannes,
thank you for your help.
libjpeg should be included in the GemLibs. could you try with those http://gem.iem.at/download/GemLibs-NT-1.zip ?
this fixes the libjpeg stuff, but there is a new problem with TextBase.cpp, seemingly related to ftgl. I couldn't find libftgl in your package (or is it gltt?), but the error doesn't seem to be related to a missing file or library:
Gem/src/Base/TextBase.cpp: In member function `virtual void TextBase::render(GemState*)': Gem/src/Base/TextBase.cpp:66: error: 'class FTFont' has no member named 'BBox'
Gem/src/Base/TextBase.cpp:69: error: 'class FTFont' has no member named 'Render'
Gem/src/Base/TextBase.cpp: In member function `virtual void TextBase::setFontSize(t_float)': Gem/src/Base/TextBase.cpp:81: error: 'class FTFont' has no member named 'FaceSize'
Gem/src/Base/TextBase.cpp: In member function `virtual void TextBase::fontNameMess(const char*)': Gem/src/Base/TextBase.cpp:128: error: 'class FTFont' has no member named 'Depth'
If I get through with this once, I'll put up a project file and a how-to on compiling gem-cvs on puredata.info ...
Thank you for your help, Thoralf.
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
Thoralf Schulze wrote:
hi johannes,
thank you for your help.
libjpeg should be included in the GemLibs. could you try with those http://gem.iem.at/download/GemLibs-NT-1.zip ?
this fixes the libjpeg stuff, but there is a new problem with TextBase.cpp, seemingly related to ftgl. I couldn't find libftgl in your package (or is it gltt?), but the error doesn't seem to be related to a missing file or library:
i have an uptodate GemLibs-package lying somewhere around that provides FTGL (getting it yourself and compiling it the way Gem needs it can be a pain in the a)
if you do not care for font rendering, you can turn it off altogether in Base/configNT.h (or you could enable GLTT-support there, which is included in the old GemLibs)
the way the sources are configured, reflects my personal setup on my compiling machine. in order to save you some more trouble, i can tell you, that you will have to have a recent version of DirectShow-SDK (goto M$N) and QuickTime-SDK (goto Apple)
If I get through with this once, I'll put up a project file and a how-to on compiling gem-cvs on puredata.info ...
yes, that'll be great.
mfg.asd.r IOhannes
IOhannes m zmoelnig wrote:
i have an uptodate GemLibs-package lying somewhere around that provides FTGL (getting it yourself and compiling it the way Gem needs it can be a pain in the a)
i have put the GemLibs-NT-2.zip online at ftp://ftp.iem.at/pd/Externals/GEM/
mfg.asd.f IOhannes