I updated my cvs today, and am now running suse9 with FTGL working! (yay!) The issue with the libGL.la was due to the nvidia driver (bug).
So Have gemcvs configured and the compile fails at:
c++ -c -g -g -O2 -D__NEW__ -fPIC -mmmx -I../ -I/usr/include/avifile-0.7 -I/usr/include/libmpeg3/ -I/usr/i nclude/freetype2/ -I/usr/local/include/ -fno-builtin -O3 -funroll-loops -ffast-math sgiimage.cpp -o sgii mage.o TextBase.cpp: In constructor `TextBase::TextBase(int, t_atom*)': TextBase.cpp:132: error: no matching function for call to `FTFace::FTFace()' /usr/local/include/FTFace.h:20: error: candidates are: FTFace::FTFace(const FTFace&) /usr/local/include/FTFace.h:35: error: FTFace::FTFace(const unsigned char*, unsigned int) /usr/local/include/FTFace.h:27: error: FTFace::FTFace(const char*) TextBase.cpp: In member function `virtual void TextBase::fontNameMess(const char*)': TextBase.cpp:168: error: no matching function for call to `FTFace::FTFace()' /usr/local/include/FTFace.h:20: error: candidates are: FTFace::FTFace(const FTFace&) /usr/local/include/FTFace.h:35: error: FTFace::FTFace(const unsigned char*, unsigned int) /usr/local/include/FTFace.h:27: error: FTFace::FTFace(const char*) TextBase.cpp:170: error: `open' undeclared (first use this function) TextBase.cpp:170: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [TextBase.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/bbogart/gem/gemcvs/src/Base' make: *** [subdirs] Error 255
Any suggestions?
Thanks Ben
B. Bogart wrote:
I updated my cvs today, and am now running suse9 with FTGL working! (yay!) The issue with the libGL.la was due to the nvidia driver (bug).
So Have gemcvs configured and the compile fails at:
char*) TextBase.cpp:170: error: `open' undeclared (first use this function) TextBase.cpp:170: error: (Each undeclared identifier is reported only once for each function it appears in.)
Any suggestions?
my first idea was: which version of FTGL are you using ? the current (>2.x) version from the homepage http://homepages.paradise.net.nz/henryj/code/index.html#FTGL or some pre-compiled package from SuSE/novell ? the API of FTGL has changed a lot between 1.x and 2.x
however, having had a look at the TextBase.cpp i noticed that the open()-function is used only in the GLTT-code so i guess, you have mixed something up with the configure-process. <sh> cd src/Gnu rm config.cache ./configure --with-ftgl </sh> you should not need the --with-ftgl since it should autodetect. (if it is installed in the "proper" locations" probably you have to add some include/library-paths with "--includedir"/"--libdir"
mfg.asd.r IOhannes