Can I use Win32 FreeType without the .dll file?

Posted by Khatharr on Stack Overflow See other posts from Stack Overflow or by Khatharr
Published on 2010-04-15T09:05:12Z Indexed on 2010/04/15 12:53 UTC
Read the original article Hit count: 352

Filed under:
|
|
|

Hello. I'm teaching myself OpenGL and I'm implementing ttf text rendering using FreeType 2. I downloaded the library from

http://gnuwin32.sourceforge.net/packages/freetype.htm

and after a couple of minor issues I got it running properly. The thing that's bothering me is that I have to place a copy of freetype6.dll in the directory with my executable in order for the thing to run. I generally try to avoid a bunch of unnecessary dll files floating around. I'm sort of new to windows programming, but from what I understand most libraries can be built to run fully from a lib rather than requiring a dll at runtime. Looking through the documentation from FT is making my brain melt, so I thought I would ask here to see if there were any devs that have worked with FT before and if so, do they know how to build the library such that no dll is required at runtime.

Thank you in advance for any advice or support.

© Stack Overflow or respective owner

Related posts about c++

Related posts about win32