We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Is it possible to compile ftgles on raspberry I have try the normal build but the header include seems is not compatible with RPi one's thanks
The text was updated successfully, but these errors were encountered:
Here's what I did to make it work.
In ftgles/src/Makefile.am there are some files missing. Add to the line with ftglyph_sources =
ftgles/src/Makefile.am
ftglyph_sources =
FTGlyph/FTPixmapGlyph.cpp \ FTGlyph/FTPixmapGlyphImpl.h \ FTGlyph/FTPolygonGlyph.cpp \ FTGlyph/FTPolygonGlyphImpl.h \
Add to the line ftfont_sources =
ftfont_sources =
FTFont/FTPixmapFont.cpp \ FTFont/FTPixmapFontImpl.h \ FTFont/FTPolygonFont.cpp \ FTFont/FTPolygonFontImpl.h \
We need to include OpenGLES headers:
$ ./configure --includedir=/opt/vc/include --prefix=/usr/local --with-gnu-ld --without-x --with-ft-prefix=/usr
This will actually install the ftgles headers under /opt/vc/include/FTGL (which is not what I wanted, but move them afterwards).
/opt/vc/include/FTGL
$ make -j 4
There will be some compiler errors because file OpenGLES/ES1/gl.h can not be found. Edit the source file and change it to GLES/gl.h
OpenGLES/ES1/gl.h
GLES/gl.h
This will build and work for OpenGLES 1. I did not try OpenGLES 2.
Sorry, something went wrong.
thanks @walterdejong
No branches or pull requests
Hi
Is it possible to compile ftgles on raspberry
I have try the normal build
but the header include seems is not compatible with RPi one's
thanks
The text was updated successfully, but these errors were encountered: