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

Need to install freetype headers on Ubuntu #47

Conversation

caspark
Copy link
Contributor

@caspark caspark commented Feb 17, 2015

PR to update the Ubuntu instructions to account for #40 : I got a message about missing freetype headers when I tried to compile on my lubuntu development vm, and installing libfreetype6-dev fixed it.

As mentioned in that issue, maybe the correct fix here is to figure out what introduced the hard dependency on freetype-rs (which is presumably what depends on the freetype headers) and remove that instead?

Since PR #46 included instructions for freetype on windows I figured I'd raise this anyway.

@caspark caspark changed the title Need to install freetype headers as well now Need to install freetype headers on Ubuntu as well now Feb 17, 2015
@caspark caspark changed the title Need to install freetype headers on Ubuntu as well now Need to install freetype headers on Ubuntu Feb 17, 2015
@Potpourri
Copy link
Member

opengl_graphics require freetype to realize glyph cache, this uses now only in conrod
Maybe worth move glyph cache to self repo @bvssvni ?

@bvssvni
Copy link
Member

bvssvni commented Feb 17, 2015

@Potpourri It would still only work with the opengl_graphics back-end, because CharacterCache::Texture points to the texture type. If we had a trait for creating textures in piston-texture, then we could move GlyphCache to its own library and auto implement it. Will open up an issue about it.

@bvssvni
Copy link
Member

bvssvni commented Feb 17, 2015

@caspark Thanks!

bvssvni added a commit that referenced this pull request Feb 17, 2015
…eadme

Need to install freetype headers on Ubuntu
@bvssvni bvssvni merged commit ada63ba into PistonDevelopers:master Feb 17, 2015
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

Successfully merging this pull request may close these issues.

3 participants