[GEM-dev] CVS checkins
tigital
tigital at mac.com
Sun Jul 20 00:40:07 CEST 2003
sorry,
...figured it out and changed cvs: typo in TextBase.h:
virtual FTFont*makeFont(const char*fontname)=0;
should be:
virtual FTFont* makeFont(const char*fontname)=0;
...well, now there's a problem with the library loader in pd:
dyld: /usr/local/pd/bin/pd Undefined symbols:
_FT_Stream_OpenGzip
_bdf_driver_class
_pfr_driver_class
_pshinter_module_class
_t42_driver_class
...some of this seems like it comes from libfreetype.a, which I've
linking against...
hmmm,
jamie
On Saturday, July 19, 2003, at 05:15 PM, tigital wrote:
> On Saturday, July 19, 2003, at 01:09 PM, IOhannes m zmoelnig wrote:
>
>>
>>>> ...I've got FTGL 2.04: what version are you working from? Also,
>>>> does
>>
>> ok, i have committed changes to work with FTGL-2.04
>> i really don't understand what he (the ftgl-guy) was saying about
>> <<no consistent way for "destroy()", so i have removed "open()">>
>> and he was changing "render()" to "Render()" and, and, and...
>> good, to have another stable API to support (like ffmpeg)
>>
>> so go, and give it a try...
>
> ...giving it a try, but have a question: are we supposed to try to do
> this with just -DFTGL, or is it necessary to include both -DGLTT &
> -DFTGL? I'm having problems with just using -DFTGL:
>
> In file included from src/Geos/text2d.cpp:17:
> src/Geos/text2d.h:65: warning: ISO C++ forbids declaration of `FTFont'
> with no type
> src/Geos/text2d.h:65: `FTFont' declared as a `virtual' field
> src/Geos/text2d.h:65: parse error before `*' token
> src/Geos/text2d.h:66: syntax error before `*' token
> src/Geos/text2d.cpp: In function `void* _classtext2d(t_symbol*, int,
> t_atom*)':
> src/Geos/text2d.cpp:24: cannot allocate an object of type `text2d'
> src/Geos/text2d.cpp:24: because the following virtual functions are
> abstract:
> /Users/tigital/puredataDev/Gem/src/Base/TextBase.h:64: virtual void
> TextBase::fontNameMess(const char*)
> /Users/tigital/puredataDev/Gem/src/Base/TextBase.h:68: virtual void
> TextBase::setFontSize(int)
> /Users/tigital/puredataDev/Gem/src/Base/TextBase.h:72: virtual void
> TextBase::setPrecision(float)
> src/Geos/text2d.cpp: In constructor `text2d::text2d(int, t_atom*)':
> src/Geos/text2d.cpp:36: class `text2d' does not have any field named
> `m_afont'
> src/Geos/text2d.cpp:37: abstract virtual `virtual void
> TextBase::fontNameMess(const char*)' called from constructor
> src/Geos/text2d.cpp: In destructor `virtual text2d::~text2d()':
> src/Geos/text2d.cpp:40: `m_font' undeclared (first use this function)
> src/Geos/text2d.cpp:40: (Each undeclared identifier is reported only
> once for each function it appears in.)
> src/Geos/text2d.cpp:41: `m_afont' undeclared (first use this function)
> src/Geos/text2d.cpp: At global scope:
> src/Geos/text2d.cpp:43: no `FTFont* text2d::makeFont(const char*)'
> member function declared in class `text2d'
> src/Geos/text2d.cpp: In member function `void
> text2d::setFontSize(float)':
> src/Geos/text2d.cpp:65: warning: assignment to `int' from `t_float'
> src/Geos/text2d.cpp:65: warning: argument to `int' from `t_float'
> src/Geos/text2d.cpp: In member function `virtual void
> text2d::render(GemState*)':
> src/Geos/text2d.cpp:100: `m_depthJus' undeclared (first use this
> function)
> src/Geos/text2d.cpp:100: `FRONT' undeclared (first use this function)
> src/Geos/text2d.cpp:101: `BACK' undeclared (first use this function)
> src/Geos/text2d.cpp:102: `HALFWAY' undeclared (first use this function)
> src/Geos/text2d.cpp:108: `justifyFont' undeclared (first use this
> function)
> src/Geos/text2d.cpp: In static member function `static void
> text2d::obj_setupCallback(_class*)':
> src/Geos/text2d.cpp:299: `aliasMessCallback' is not a member of type
> `text2d'
> ...failed CompileCplusplus
> /Users/tigital/puredataDev/Gem/build/GEM_darwin.build/
> gem_darwin+FTGL.build/Objects-normal/ppc/text2d.o ...
>
> l8r,
> jamie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 4570 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20030719/a1340321/attachment.bin>
More information about the GEM-dev
mailing list