Enabling pango + cairo in openFrameworks for Windows / Mac / Linux(?)
C Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
src
install.xml
readme.txt

readme.txt

ofxPango
========
The ofxPango addon enables advanced text rendering in openFrameworks. It 
uses the Pango text rendering engine (www.pango.org). Pango has some nice
features as:

- justified text
- simple markup language
- dynamic font loading (from your system directory)

Installation Windows (Code::Blocks)
===================================
- Add the ofxPango\src to your project
- Project > Build Options > Search directories tab
		..\..\..\addons_diederick\ofxPango\libs\pango\include\
		..\..\..\addons_diederick\ofxPango\libs\glib\include\
		..\..\..\addons_diederick\ofxPango\libs\cairo\include\cairo\
		..\..\..\addons_diederick\ofxPango\src\
		
- Project > Build Options > Linker Settings
		..\..\..\addons_diederick\ofxPango\libs\pango\lib\win\libpangocairo-1.0-0.dll
		..\..\..\addons_diederick\ofxPango\libs\pango\lib\win\libpango-1.0-0.dll
		..\..\..\addons_diederick\ofxPango\libs\cairo\lib\win\libcairo-2.dll
		..\..\..\addons_diederick\ofxPango\src\libs\win\libgobject-2.0-0.dll
		
- Copy the dll files from: ofxPango\src\libs\win\ and ofxPango\src\libs\static\ to your bin directory. 


Installation Mac (XCode)
========================
- Add the ofxPango\src to your project
- Project > Build Options > Search directories tab
	../../../addons_diederick/ofxPango/libs/pango/include/
	../../../addons_diederick/ofxPango/libs/glib/include/
	../../../addons_diederick/ofxPango/libs/cairo/include/cairo/
	../../../addons_diederick/ofxPango/src/

	
# Errors / faq.
================
- 	Undefined  symbols errors.
	When you get an error like:

	Undefined symbols:
	  "_fopen$UNIX2003", referenced from:
		  _some_function in somefile.o
	
	Make sure you compile against the 10.6 SDK!