Sitemap

Using Freetype in visual studio

1 min readJun 9, 2014

Download from http://download.savannah.gnu.org/releases/freetype/

Go to freetype directory, open the solution file in builds/windows/vs2010, and build it to get *.lib files.

Open yourself solution file

Get Jack Pan’s stories in your inbox

Join Medium for free to get updates from this writer.

Project properties -> C/C++ “other Include directories” add freetype’s include directory

Project properties -> Linker -> General “other Library directories” add freetype’s objs/win32/vs2010 directory ( which contains *.lib files )

Project properties -> Linker -> Input “Additional Dependencies” add text “freetype253.lib”

Reference
http://www.freetype.org/freetype2/docs/tutorial/step1.html
http://en.wikibooks.org/wiki/OpenGL_Programming/Modern_OpenGL_Tutorial_Text_Rendering_02
http://nehe.gamedev.net/tutorial/freetype_fonts_in_opengl/24001/