Thanks for the clarification. So this would imply that example_app/uc2_graphics
requires api/ttfont.{cpp,h}. In which case, shouldn't
samples/example_app/Makefile be amended to build ttffont.o and then link
against it. In other words, not including it in libboinc_graphics2.a make sense
so as to not add an unnecessary dependency, but uc2_graphics does have that
dependency (because it displays CPU time and credit info IIRC).
________________________________________
From: Charlie Fenton [[email protected]]
Sent: Monday, October 15, 2012 16:25
To: Coss, David
Cc: [email protected]
Subject: Re: [boinc_dev] ttfonts and uc2_graphics. .
Hi David,
Please see <http://boinc.berkeley.edu/trac/wiki/GraphicsApi#Displayingtext>
If you want your graphics application to display text, you must add the files
api/ttfont.cpp and api/ttfont.h to your application yourself. They are not
included in the basic library build because they require linking with the
FreeType2 and FTGL libraries, and we don't want to require those libraries for
screen savers which don't display text.
Cheers,
--Charlie
On Oct 15, 2012, at 10:28 AM, Coss, David wrote:
> I'm trying to build uc2_graphics. When I run "make uc2_graphics", there are
> quite a few "undefinited reference" errors to TTFont functions. It seems this
> should be in one of the api libraries (seemingly the boinc_graphics2 one) via
> ttfonts.cpp, but I don't find that in the Makefile.am file (at least not when
> I grep'ed for "ttfont"). Is that deprecated or is it missing from the
> automake file? Or, for that matter, did I do something wrong?
>
>
> ________________________________
> Email Disclaimer: www.stjude.org/emaildisclaimer
> Consultation Disclaimer: www.stjude.org/consultationdisclaimer
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.