ftgl-dev does not find freetype

Bug #151641 reported by Jens Fursund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ftgl (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: ftgl-dev

When compiling with ftgl-dev in Gutsy, it produces the following error:

In file included from /usr/include/FTGL/FTFont.h:4,
                 from /usr/include/FTGL/FTGLBitmapFont.h:4,
                 from fonts.h:7,
                 from canvas.cpp:11:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory

Revision history for this message
Frank Lynch (frank-lynch) wrote :

FWIW I was able to workaround/overcome a similar build error by doing:
    sudo ln -s /usr/include/freetype2/freetype/ /usr/include/freetype
YMMV.

Revision history for this message
danomatika (danomatika) wrote :

This is still a problem in Hardy and the link listed above worked for me.

Daniel T Chen (crimsun)
Changed in ftgl:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Kagetsuki (zero-tsuki) wrote :

Still a problem in Karmic. The symlink above works.

Revision history for this message
Linkowiezi (linkowiezi84) wrote :

Still a problem in Lucid. Although Frank Lynch's workaround above with the symlink works.

Revision history for this message
Sven Eckelmann (sven-eckelmann) wrote :

It sounds a little bit like you forgot to set the cflags as reported by `pkg-config --cflags ftgl`. But you didn't provide a complete example, so it is hard to check what you've done.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.