Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualAcharis

Posted 29 December 2012 - 11:08 AM

I'm trying to make the NeHe freetypefont tutorial to work, but I get a blank screen for some reason...

What I did:
- got precompiled Windows binaries of freetype (freetype-2.3.5-1-bin)
- made a project in Code::Blocks (SDL+OpenGL+FreeType lib included)
- downloaded the source code from http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/ (the Linux/SDL Code For This Lesson. ( Conversion by Aaron Graves) version) and I have not forgotten about the font either :)

So, I have built it and run and... I'm getting a blank screen. I added a standard "OpenGL triangle code" and it is displayed properly, so I assume OpenGl + SDL works as it should. I got no errors of any kind.

I don't know how to bite it. Is it because the tutorial is broken? Or I downloaded a broken version of it? Or I got a wrong/broken/incompatible version of FT library? Or something else?

Does anyone got this tutorial working?

#1Acharis

Posted 29 December 2012 - 11:08 AM

I'm trying to make the NeHe freetypefont tutorial to work, but I get a blank screen for some reason...

 

What I did:

- got precompiled Windows binaries of freetype (freetype-2.3.5-1-bin)

- made a project in Code::Blocks (SDL+OpenGL+FreeType lib included)

- downloaded the source code from http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/ (the Linux/SDL Code For This Lesson. ( Conversion by Aaron Graves) version) and I have not forgotten about the font either :)

 

So, I have built it and run and... I'm getting a blank screen. I added a standard "OpenGL triangle code" and it is displayed properly, so I assume OpenGl + SDL works as it should. I got no errors of any kind.

 

I don't know how to bite it. Is it because the tutorial is broken? Or I downloaded a broken version of it? Or I got a wrong/broken/incompatible version of FT library? Or something else?

 

Does anyone got this tutorial working?

 

 


PARTNERS