Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to compile of 0.9.3 #10

Open
wanwannaw opened this issue Nov 22, 2016 · 2 comments
Open

failed to compile of 0.9.3 #10

wanwannaw opened this issue Nov 22, 2016 · 2 comments

Comments

@wanwannaw
Copy link

wanwannaw commented Nov 22, 2016

i'm getting these

Build target example-ftw of project example-ftw with configuration Debug

CompileC /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofApp.o src/ofApp.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.7 -g -mssse3 -Wno-sign-conversion -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/example-ftwDebug.hmap -I/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/.settings -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I../../../libs/poco/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/fmodex/include -I../../../libs/glew/include -I../../../libs/FreeImage/include -I../../../libs/tess2/include -I../../../libs/cairo/include/cairo -I../../../libs/rtAudio/include -I../../../libs/glfw/include -I../../../libs/boost/include -I../../../libs/utf8cpp/include -I../../../libs/openssl/include -Isrc -I../../../addons/ofxFTGL/libs -I../../../addons/ofxFTGL/libs/FTGL -I../../../addons/ofxFTGL/libs/FTGL/include -I../../../addons/ofxFTGL/libs/FTGL/include/FTGL -I../../../addons/ofxFTGL/libs/FTGL/lib -I../../../addons/ofxFTGL/libs/FTGL/lib/osx -I../../../addons/ofxFTGL/libs/FTGL/lib/vs64 -I../../../addons/ofxFTGL/src -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../libs/glut/lib/osx -D__MACOSX_CORE__ -mtune=native -MMD -MT dependencies -MF /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofApp.d --serialize-diagnostics /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofApp.dia -c /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp -o /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofApp.o

In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:52:5: error: expected expression
protected:
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:19: error: variable has incomplete type 'class FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:7: note: forward declaration of 'FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:123:1: error: unknown type name 'FTGL_BEGIN_C_DECLS'
FTGL_BEGIN_C_DECLS
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:132:1: error: expected unqualified-id
struct _FTGLGlyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:13: error: redefinition of 'FTGLglyph' as different kind of symbol
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:133:27: note: previous definition is here
typedef struct _FTGLglyph FTGLglyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:22: error: expected ';' after top level declarator
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:155:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglDestroyGlyph(FTGLglyph *glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:52: error: unknown type name 'FTGL_DOUBLE'
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:171:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE peny, int renderMode,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:57: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:179:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT float ftglGetGlyphAdvance(FTGLglyph glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:188:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglGetGlyphBBox(FTGLglyph glyph, float bounds[6]);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:13: error: redefinition of 'FT_Error' as different kind of symbol
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:33:
In file included from ../../../libs/freetype/include/freetype2/freetype.h:34:
../../../libs/freetype/include/freetype2/fttypes.h:300:16: note: previous definition is here
typedef int FT_Error;
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:21: error: expected ';' after top level declarator
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:198:1: error: unknown type name 'FTGL_END_C_DECLS'
FTGL_END_C_DECLS
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:35:
../../../libs/freetype/include/freetype2/ftoutln.h:34:1: error: expected unqualified-id
FT_BEGIN_HEADER
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:32:
In file included from ../../../libs/freetype/include/freetype2/ft2build.h:37:
../../../libs/freetype/include/freetype2/config/ftheader.h:34:26: note: expanded from macro 'FT_BEGIN_HEADER'
#define FT_BEGIN_HEADER extern "C" {
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/ofApp.cpp:32:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:111:
../../../addons/ofxFTGL/libs/FTGL/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=]
20 errors generated.

CompileC /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/main.o src/main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.7 -g -mssse3 -Wno-sign-conversion -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/example-ftwDebug.hmap -I/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/.settings -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I../../../libs/poco/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/fmodex/include -I../../../libs/glew/include -I../../../libs/FreeImage/include -I../../../libs/tess2/include -I../../../libs/cairo/include/cairo -I../../../libs/rtAudio/include -I../../../libs/glfw/include -I../../../libs/boost/include -I../../../libs/utf8cpp/include -I../../../libs/openssl/include -Isrc -I../../../addons/ofxFTGL/libs -I../../../addons/ofxFTGL/libs/FTGL -I../../../addons/ofxFTGL/libs/FTGL/include -I../../../addons/ofxFTGL/libs/FTGL/include/FTGL -I../../../addons/ofxFTGL/libs/FTGL/lib -I../../../addons/ofxFTGL/libs/FTGL/lib/osx -I../../../addons/ofxFTGL/libs/FTGL/lib/vs64 -I../../../addons/ofxFTGL/src -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../libs/glut/lib/osx -D__MACOSX_CORE__ -mtune=native -MMD -MT dependencies -MF /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/main.dia -c /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp -o /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/main.o

In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:52:5: error: expected expression
protected:
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:19: error: variable has incomplete type 'class FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:7: note: forward declaration of 'FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:123:1: error: unknown type name 'FTGL_BEGIN_C_DECLS'
FTGL_BEGIN_C_DECLS
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:132:1: error: expected unqualified-id
struct _FTGLGlyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:13: error: redefinition of 'FTGLglyph' as different kind of symbol
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:133:27: note: previous definition is here
typedef struct _FTGLglyph FTGLglyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:22: error: expected ';' after top level declarator
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:155:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglDestroyGlyph(FTGLglyph *glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:52: error: unknown type name 'FTGL_DOUBLE'
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:171:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE peny, int renderMode,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:57: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:179:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT float ftglGetGlyphAdvance(FTGLglyph glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:188:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglGetGlyphBBox(FTGLglyph glyph, float bounds[6]);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:13: error: redefinition of 'FT_Error' as different kind of symbol
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:33:
In file included from ../../../libs/freetype/include/freetype2/freetype.h:34:
../../../libs/freetype/include/freetype2/fttypes.h:300:16: note: previous definition is here
typedef int FT_Error;
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:21: error: expected ';' after top level declarator
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:198:1: error: unknown type name 'FTGL_END_C_DECLS'
FTGL_END_C_DECLS
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:35:
../../../libs/freetype/include/freetype2/ftoutln.h:34:1: error: expected unqualified-id
FT_BEGIN_HEADER
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:32:
In file included from ../../../libs/freetype/include/freetype2/ft2build.h:37:
../../../libs/freetype/include/freetype2/config/ftheader.h:34:26: note: expanded from macro 'FT_BEGIN_HEADER'
#define FT_BEGIN_HEADER extern "C" {
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/src/main.cpp:33:
In file included from src/ofApp.h:35:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:111:
../../../addons/ofxFTGL/libs/FTGL/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=]
20 errors generated.

CompileC /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLFont.o /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.7 -g -mssse3 -Wno-sign-conversion -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/example-ftwDebug.hmap -I/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/.settings -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I../../../libs/poco/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/fmodex/include -I../../../libs/glew/include -I../../../libs/FreeImage/include -I../../../libs/tess2/include -I../../../libs/cairo/include/cairo -I../../../libs/rtAudio/include -I../../../libs/glfw/include -I../../../libs/boost/include -I../../../libs/utf8cpp/include -I../../../libs/openssl/include -Isrc -I../../../addons/ofxFTGL/libs -I../../../addons/ofxFTGL/libs/FTGL -I../../../addons/ofxFTGL/libs/FTGL/include -I../../../addons/ofxFTGL/libs/FTGL/include/FTGL -I../../../addons/ofxFTGL/libs/FTGL/lib -I../../../addons/ofxFTGL/libs/FTGL/lib/osx -I../../../addons/ofxFTGL/libs/FTGL/lib/vs64 -I../../../addons/ofxFTGL/src -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../libs/glut/lib/osx -D__MACOSX_CORE__ -mtune=native -MMD -MT dependencies -MF /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLFont.d --serialize-diagnostics /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLFont.dia -c /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp -o /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLFont.o

In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:52:5: error: expected expression
protected:
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:19: error: variable has incomplete type 'class FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:7: note: forward declaration of 'FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:123:1: error: unknown type name 'FTGL_BEGIN_C_DECLS'
FTGL_BEGIN_C_DECLS
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:132:1: error: expected unqualified-id
struct _FTGLGlyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:13: error: redefinition of 'FTGLglyph' as different kind of symbol
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:133:27: note: previous definition is here
typedef struct _FTGLglyph FTGLglyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:22: error: expected ';' after top level declarator
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:155:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglDestroyGlyph(FTGLglyph *glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:52: error: unknown type name 'FTGL_DOUBLE'
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:171:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE peny, int renderMode,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:57: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:179:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT float ftglGetGlyphAdvance(FTGLglyph glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:188:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglGetGlyphBBox(FTGLglyph glyph, float bounds[6]);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:13: error: redefinition of 'FT_Error' as different kind of symbol
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:33:
In file included from ../../../libs/freetype/include/freetype2/freetype.h:34:
../../../libs/freetype/include/freetype2/fttypes.h:300:16: note: previous definition is here
typedef int FT_Error;
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:21: error: expected ';' after top level declarator
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:198:1: error: unknown type name 'FTGL_END_C_DECLS'
FTGL_END_C_DECLS
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:35:
../../../libs/freetype/include/freetype2/ftoutln.h:34:1: error: expected unqualified-id
FT_BEGIN_HEADER
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:32:
In file included from ../../../libs/freetype/include/freetype2/ft2build.h:37:
../../../libs/freetype/include/freetype2/config/ftheader.h:34:26: note: expanded from macro 'FT_BEGIN_HEADER'
#define FT_BEGIN_HEADER extern "C" {
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLFont.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLFont.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:111:
../../../addons/ofxFTGL/libs/FTGL/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=]
20 errors generated.

CompileC /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLSimpleLayout.o /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.7 -g -mssse3 -Wno-sign-conversion -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/example-ftwDebug.hmap -I/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/.settings -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/video -I../../../libs/poco/include -I../../../libs/freetype/include -I../../../libs/freetype/include/freetype2 -I../../../libs/fmodex/include -I../../../libs/glew/include -I../../../libs/FreeImage/include -I../../../libs/tess2/include -I../../../libs/cairo/include/cairo -I../../../libs/rtAudio/include -I../../../libs/glfw/include -I../../../libs/boost/include -I../../../libs/utf8cpp/include -I../../../libs/openssl/include -Isrc -I../../../addons/ofxFTGL/libs -I../../../addons/ofxFTGL/libs/FTGL -I../../../addons/ofxFTGL/libs/FTGL/include -I../../../addons/ofxFTGL/libs/FTGL/include/FTGL -I../../../addons/ofxFTGL/libs/FTGL/lib -I../../../addons/ofxFTGL/libs/FTGL/lib/osx -I../../../addons/ofxFTGL/libs/FTGL/lib/vs64 -I../../../addons/ofxFTGL/src -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources/x86_64 -I/Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/DerivedSources -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/bin -F/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../libs/glut/lib/osx -D__MACOSX_CORE__ -mtune=native -MMD -MT dependencies -MF /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLSimpleLayout.d --serialize-diagnostics /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLSimpleLayout.dia -c /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp -o /Users/apple/Library/Developer/Xcode/DerivedData/example-ftw-fcuvyzkmmpgpjhcfswgyzoucegah/Build/Intermediates/example-ftw.build/Debug/example-ftw.build/Objects-normal/x86_64/ofxFTGLSimpleLayout.o

In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:52:5: error: expected expression
protected:
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:19: error: variable has incomplete type 'class FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:50:7: note: forward declaration of 'FTGL_EXPORT'
class FTGL_EXPORT FTGlyph
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:123:1: error: unknown type name 'FTGL_BEGIN_C_DECLS'
FTGL_BEGIN_C_DECLS
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:132:1: error: expected unqualified-id
struct _FTGLGlyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:13: error: redefinition of 'FTGLglyph' as different kind of symbol
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:133:27: note: previous definition is here
typedef struct _FTGLglyph FTGLglyph;
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:145:22: error: expected ';' after top level declarator
FTGL_EXPORT FTGLglyph *ftglCreateCustomGlyph(FTGLglyph *base, void *data,
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:155:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglDestroyGlyph(FTGLglyph *glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:170:52: error: unknown type name 'FTGL_DOUBLE'
FTGL_EXPORT void ftglRenderGlyph(FTGLglyph *glyph, FTGL_DOUBLE penx,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:171:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE peny, int renderMode,
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:34: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:172:57: error: unknown type name 'FTGL_DOUBLE'
FTGL_DOUBLE *advancex, FTGL_DOUBLE *advancey);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:179:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT float ftglGetGlyphAdvance(FTGLglyph glyph);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:188:13: error: cannot combine with previous 'type-name' declaration specifier
FTGL_EXPORT void ftglGetGlyphBBox(FTGLglyph glyph, float bounds[6]);
^
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:13: error: redefinition of 'FT_Error' as different kind of symbol
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:33:
In file included from ../../../libs/freetype/include/freetype2/freetype.h:34:
../../../libs/freetype/include/freetype2/fttypes.h:300:16: note: previous definition is here
typedef int FT_Error;
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:34:
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:196:21: error: expected ';' after top level declarator
FTGL_EXPORT FT_Error ftglGetGlyphError(FTGLglyph
glyph);
^
;
/Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/FTGlyph.h:198:1: error: unknown type name 'FTGL_END_C_DECLS'
FTGL_END_C_DECLS
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:35:
../../../libs/freetype/include/freetype2/ftoutln.h:34:1: error: expected unqualified-id
FT_BEGIN_HEADER
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:32:
In file included from ../../../libs/freetype/include/freetype2/ft2build.h:37:
../../../libs/freetype/include/freetype2/config/ftheader.h:34:26: note: expanded from macro 'FT_BEGIN_HEADER'
#define FT_BEGIN_HEADER extern "C" {
^
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/src/ofxFTGLSimpleLayout.cpp:1:
In file included from ../../../addons/ofxFTGL/src/ofxFTGLSimpleLayout.h:4:
In file included from /Users/apple/Desktop/everything/openframeworks/of_v0.9.3_osx_release/addons/ofxFTGL/example-ftw/../../../addons/ofxFTGL/libs/FTGL/include/FTGL/ftgl.h:111:
../../../addons/ofxFTGL/libs/FTGL/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=]
20 errors generated.

@wanwannaw
Copy link
Author

wanwannaw commented Nov 22, 2016

@obviousjim any ideas?

@fishkingsin
Copy link

fishkingsin commented Nov 23, 2017

@wanwannaw
if the project is generated from proejct generator
remove include ftgl header
screen shot 2017-11-23 at 10 37 28 pm
from project directory
add header search paths ../../../addons/ofxFTGL/libs ../../../addons/ofxFTGL/libs/FTGL ../../../addons/ofxFTGL/libs/FTGL/include/** ../../../addons/ofxFTGL/libs/FTGL/include/FTGL/** ../../../addons/ofxFTGL/src only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants