teomat/ftgl-go — Issue #1: Not compiling without freetype2 include
Author: pmylund
Created: 2012-02-17 22:14:46+00:00
State: open

This doesn't want to compile on Go b984f2b4aa91 tip, Ubuntu 11.10 amd64:

go build
# github.com/teomat/ftgl-go
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
compilation terminated.

After including:

//#cgo CFLAGS: -I/usr/include/freetype2

it works.