Index of /www001/src/ports/graphics/ftgl/work/FTGL/unix
Name Last modified Size Description
Parent Directory 10-Dec-2004 13:54 -
Make.conf.in 24-Aug-2003 21:18 1k
Make.rules 12-Jan-2003 13:27 1k
Makefile 03-Jan-2008 19:41 1k
Makefile.bak 03-Jan-2008 19:41 1k
acinclude.m4 24-Aug-2003 21:18 10k
aclocal.m4 24-Aug-2003 21:18 128k
bootstrap 12-Jan-2003 13:27 1k
config.guess 12-Mar-2003 10:55 40k
config.log 23-Jan-2008 10:22 45k
config.sub 12-Mar-2003 10:55 29k
configure 24-Aug-2003 21:18 335k
configure.ac 24-Aug-2003 21:18 1k
demo/ 10-Dec-2004 13:51 -
docs/ 03-Jan-2008 19:42 -
ftgl.pc.in 24-Aug-2003 21:18 1k
install-sh 12-Jan-2003 13:27 5k
libtool 23-Jan-2008 10:19 149k
ltmain.sh 12-Jan-2003 13:27 141k
m4/ 10-Dec-2004 13:51 -
src/ 10-Dec-2004 13:51 -
FTGL Version 2.0.5
This project will build a static library (archive) in the src directory.
The Makefiles need GNU Make in order to work properly.
FTGL requires the Freetype2 library (version 2.0.9 or later) and OpenGL
(glu version 1.2 or later). You can pass flags to the configure script
to point it to the place where these libraries are installed, like this:
$ ./configure --with-gl-inc=/usr/local/include \
--with-gl-lib=/usr/local/lib
Should you need anything more complicated that that, try with:
$ ./configure --with-gl-inc=/usr/local/include \
--with-gl-lib="-L/weird/location -lGL -lX11 -lXi -lXm"
The same thing goes for the GLUT library. This is optional and is only
needed to build the demo program. Should any of this fail, please send
an email to mmagallo@debian.org (please include FTGL somewhere in the
subject line) and include a copy of the config.log file that was left
behind.
If doxygen is installed, documentation in HTML format will be generated
in the docs subdirectory.
To use FTGL in your own projects you will need to link against this lib
and include the FTGL headers located in the src directory. Your project
will also need Freetype and OpenGL. For your convinience a pkg-config
metadata file has been included (ftgl.pc) and gets installed in
<libdir>/pkgconfig, where pkg-config should be able to find it. In
order to take advantage of this, just include something like this in
your makefiles:
FTGL_CPPFLAGS := $(shell pkg-config --cflags ftgl)
FTGL_LDFLAGS := $(shell pkg-config --libs-only-L ftgl)
FTGL_LIBS := $(shell pkg-config --libs-only-l ftgl)
The names of these variables should be self-explanatory. Note that
FTGL_LIBS will include -lGL, you shouldn't specify that flag separately.
For instructions on using Freetype go to http://www.freetype.org/
For instructions on using OpenGL go to http://www.opengl.org/
Please contact me if you have any suggestions, feature requests, or
problems.
Henry Maddocks
henryj@paradise.net.nz
http://homepages.paradise.net.nz/henryj/