~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to extern/bFTGL/unix/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
FTGL Version 2.0.5
 
2
 
 
3
This project will build a static library (archive) in the src directory.
 
4
 
 
5
The Makefiles need GNU Make in order to work properly.
 
6
 
 
7
FTGL requires the Freetype2 library (version 2.0.9 or later) and OpenGL
 
8
(glu version 1.2 or later). You can pass flags to the configure script
 
9
to point it to the place where these libraries are installed, like this:
 
10
 
 
11
    $ ./configure --with-gl-inc=/usr/local/include \
 
12
                  --with-gl-lib=/usr/local/lib
 
13
 
 
14
Should you need anything more complicated that that, try with:
 
15
 
 
16
    $ ./configure --with-gl-inc=/usr/local/include \
 
17
                  --with-gl-lib="-L/weird/location -lGL -lX11 -lXi -lXm"
 
18
 
 
19
The same thing goes for the GLUT library.  This is optional and is only
 
20
needed to build the demo program.  Should any of this fail, please send
 
21
an email to mmagallo@debian.org (please include FTGL somewhere in the
 
22
subject line) and include a copy of the config.log file that was left
 
23
behind.
 
24
 
 
25
If doxygen is installed, documentation in HTML format will be generated
 
26
in the docs subdirectory.
 
27
 
 
28
To use FTGL in your own projects you will need to link against this lib
 
29
and include the FTGL headers located in the src directory. Your project
 
30
will also need Freetype and OpenGL.  For your convinience a pkg-config
 
31
metadata file has been included (ftgl.pc) and gets installed in
 
32
<libdir>/pkgconfig, where pkg-config should be able to find it.  In
 
33
order to take advantage of this, just include something like this in
 
34
your makefiles:
 
35
 
 
36
    FTGL_CPPFLAGS := $(shell pkg-config --cflags ftgl)
 
37
    FTGL_LDFLAGS  := $(shell pkg-config --libs-only-L ftgl)
 
38
    FTGL_LIBS     := $(shell pkg-config --libs-only-l ftgl)
 
39
 
 
40
The names of these variables should be self-explanatory.  Note that
 
41
FTGL_LIBS will include -lGL, you shouldn't specify that flag separately.
 
42
 
 
43
For instructions on using Freetype go to http://www.freetype.org/
 
44
For instructions on using OpenGL go to http://www.opengl.org/
 
45
 
 
46
Please contact me if you have any suggestions, feature requests, or
 
47
problems.
 
48
 
 
49
Henry Maddocks
 
50
henryj@paradise.net.nz
 
51
http://homepages.paradise.net.nz/henryj/