Skip to content

Instantly share code, notes, and snippets.

@megrimm
Created August 10, 2014 21:15
Show Gist options
  • Save megrimm/c2b2dd6f9e9bf84d48db to your computer and use it in GitHub Desktop.
Save megrimm/c2b2dd6f9e9bf84d48db to your computer and use it in GitHub Desktop.
make[3]: *** [libBase_la-TextBaseFTGL.lo] Error 1
In file included from TextBaseFTGL.cpp:24:
In file included from ./TextBase.h:38:
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTFont.h:29:5: warning: This header is deprecated. Please use <FTGL/ftgl.h> from now. [-W#warnings]
# warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
^
In file included from TextBaseFTGL.cpp:24:
In file included from ./TextBase.h:38:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTFont.h:30:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftgl.h:34:
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:50:19: error: variable has incomplete type 'class FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:50:7: note: forward declaration of 'FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:50:26: error: expected ';' after top level declarator
class FTGL_EXPORT FTGlyph
^
;
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:123:1: error: unknown type name 'FTGL_BEGIN_C_DECLS'
FTGL_BEGIN_C_DECLS
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:132:1: error: expected unqualified-id
struct _FTGLGlyph;
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:145:13: error: redefinition of 'FTGLglyph' as different kind of symbol
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:133:27: note: previous definition is here
typedef struct _FTGLglyph FTGLglyph;
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:145:22: error: expected ';' after top level declarator
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
;
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:155:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglDestroyGlyph(FTGLglyph *glyph);
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:170:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:170:52: error: unknown type name 'FTGL_DOUBLE'
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:171:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE peny, int renderMode,
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:172:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:172:57: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:179:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT float ftglGetGlyphAdvance(FTGLglyph *glyph);
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:188:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglGetGlyphBBox(FTGLglyph *glyph, float bounds[6]);
^
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:196:13: error: redefinition of 'FT_Error' as different kind of symbol
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph* glyph);
^
/usr/local/Cellar/freetype/2.5.3_1/include/freetype2/fttypes.h:296:16: note: previous definition is here
typedef int FT_Error;
^
In file included from TextBaseFTGL.cpp:24:
In file included from ./TextBase.h:38:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTFont.h:30:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftgl.h:34:
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:196:21: error: expected ';' after top level declarator
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph* glyph);
^
;
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftglyph.h:198:1: error: unknown type name 'FTGL_END_C_DECLS'
FTGL_END_C_DECLS
^
In file included from TextBaseFTGL.cpp:24:
In file included from ./TextBase.h:38:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTFont.h:30:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftgl.h:35:
/usr/local/Cellar/freetype/2.5.3_1/include/freetype2/ftoutln.h:34:1: error: expected unqualified-id
FT_BEGIN_HEADER
^
/usr/local/Cellar/freetype/2.5.3_1/include/freetype2/config/ftheader.h:34:26: note: expanded from macro 'FT_BEGIN_HEADER'
#define FT_BEGIN_HEADER extern "C" {
^
In file included from TextBaseFTGL.cpp:24:
In file included from ./TextBase.h:38:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTFont.h:30:
In file included from /usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/ftgl.h:111:
/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL/FTBBox.h:80:13: error: use of undeclared identifier 'FT_Outline_Get_CBox'
FT_Outline_Get_CBox(&(glyph->outline), &bbox);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[3]: *** [libBase_la-TextBaseFTGL.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
megrimms-Mac:Gem megrimm$ pkg-config --cflags ftgl
-I/usr/local/Cellar/ftgl/2.1.3-rc5/include -I/usr/local/Cellar/ftgl/2.1.3-rc5/include/FTGL -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2
megrimms-Mac:Gem megrimm$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment