Skip to main content
GameDev.net gamedev.net
🔒 Locked

FTGL errors

Started by dford Sep 13, 2005 at 10:11 PM 0 replies 500+ views
Original Post
dford
dford
I'm trying to use FTGL to render a FPS counter, and getting a few errors simply by including the headers.

#include <FTGL/FTGLExtrdFont.h>
#include <FTGL/FTGLOutlineFont.h>
#include <FTGL/FTGLPolygonFont.h>
#include <FTGL/FTGLTextureFont.h>
#include <FTGL/FTGLPixmapFont.h>
#include <FTGL/FTGLBitmapFont.h>

In file included from /usr/include/FTGL/FTFont.h:4, from /usr/include/FTGL/FTGLExtrdFont.h:4, from headers/fps.h:8, from fps.cpp:3: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory In file included from /usr/include/FTGL/FTGLExtrdFont.h:4, from headers/fps.h:8, from fps.cpp:3: /usr/include/FTGL/FTFont.h:5:10: error: #include expects "FILENAME" or In file included from /usr/include/FTGL/FTFont.h:7, from /usr/include/FTGL/FTGLExtrdFont.h:4, from headers/fps.h:8, from fps.cpp:3: /usr/include/FTGL/FTFace.h:5:10: error: #include expects "FILENAME" or /usr/include/FTGL/FTFace.h:6:10: error: #include expects "FILENAME" or In file included from /usr/include/FTGL/FTFace.h:9, from /usr/include/FTGL/FTFont.h:7, from /usr/include/FTGL/FTGLExtrdFont.h:4, from headers/fps.h:8, from fps.cpp:3: /usr/include/FTGL/FTPoint.h:5:10: error: #include expects "FILENAME" or /usr/include/FTGL/FTPoint.h:6:10: error: #include expects "FILENAME" or In file included from /usr/include/FTGL/FTFace.h:10, from /usr/include/FTGL/FTFont.h:7, from /usr/include/FTGL/FTGLExtrdFont.h:4, from headers/fps.h:8, from fps.cpp:3: /usr/include/FTGL/FTSize.h:6:10: error: #include expects "FILENAME" or /usr/include/FTGL/FTPoint.h:45: error: expected ‘,’ or ‘...’ before ‘&’ token /usr/include/FTGL/FTPoint.h: In constructor ‘FTPoint::FTPoint(int)’: /usr/include/FTGL/FTPoint.h:47: error: ‘ft_vector’ was not declared in this scope /usr/include/FTGL/FTSize.h: At global scope: /usr/include/FTGL/FTSize.h:43: error: ‘FT_Face’ has not been declared /usr/include/FTGL/FTSize.h:102: error: ‘FT_Error’ does not name a type /usr/include/FTGL/FTSize.h:108: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTSize.h:113: error: ‘FT_Size’ does not name a type /usr/include/FTGL/FTSize.h:133: error: ‘FT_Error’ does not name a type /usr/include/FTGL/FTFace.h:67: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTFace.h:79: error: expected `;' before ‘const’ /usr/include/FTGL/FTFace.h:93: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTFace.h:103: error: ‘FT_GlyphSlot’ does not name a type /usr/include/FTGL/FTFace.h:115: error: ‘FT_Error’ does not name a type /usr/include/FTGL/FTFace.h:121: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTFace.h:133: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTFace.h:143: error: ‘FT_Error’ does not name a type /usr/include/FTGL/FTFont.h:87: error: ‘FT_Encoding’ has not been declared /usr/include/FTGL/FTFont.h:101: error: expected ‘;’ before ‘*’ token /usr/include/FTGL/FTFont.h:217: error: ‘FT_Error’ does not name a type /usr/include/FTGL/FTFont.h:251: error: ‘FT_Error’ does not name a type make: *** [fps.o] Error 1 I have freetype2, libfreetype6, libfreetype6-dev, and ftgl-dev installed.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.