Commit 04df9e09 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

Installation instructions on Ubuntu 15.10

parent a4cfb9ab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,3 +46,4 @@ cmake_install.cmake
Makefile
libfreetype-gl.a
makefont
/build

INSTALL.md

0 → 100644
+30 −0
Original line number Diff line number Diff line
# Install

## Ubuntu 15.10

The procedure is detailed in the [.travis.yml](.travis.yml).

If you want to reuse distribution packages as much as possible,
you need at the very least to:

-   compile and install AntTweakBar from source.

    There is no Ubuntu package for it, and that project is marked as unmaintained.

-   compile and install GLFW from source because of a Debian packaging bug with CMake:
    <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812853>

-   apply the fix at
    <https://github.com/rougier/freetype-gl/blob/a4cfb9abac19a0ab62b625a9b6f856e032fe3732/.travis.yml#L23>
    to the installed GLFW files

Then:

    mkdir build
    cd build
    cmake ..
    make

You can then run some demos under:

    cd demos
+4 −1
Original line number Diff line number Diff line
@@ -5,10 +5,13 @@ Freetype GL - A C OpenGL Freetype engine

This code intends to show how to display fonts efficiently using regular C,
Freetype and OpenGL. The idea is to use a single texture and a single vertex
buffer. The code is fairly simple and organized as follow:
buffer.

![Screenshot](http://raw.github.com/rougier/freetype-gl/master/doc/images/markup.png)

[Installation instructions](INSTALL.md).

The code is fairly simple and organized as follow:

Mandatory
---------