Hash :
aeb07e73
Author :
Date :
2003-04-14T09:41:40
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 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/