• Advertisement
Sign in to follow this  

FreeType

This topic is 4899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Has anyone here had any experiance with FreeType 2? I keep recieving "[Linker Error] Unresolved external '_FT_Init_FreeType' referenced from E:\MYDOCS\CHRIS\PROGRAMING\DIRECTX\MERC ENGINE\UNIT1.OBJ" everytime I attempt to use FT_Init_FreeType(). I've checked the doccumentation, but it appears I'm doing everything right... I've included the Include dir, and added the right #includes... Any help would be great! Cheers Sigma

Share this post


Link to post
Share on other sites
Advertisement
You need to link with the library as well.

Simply add the file freetypeproject.lib to your project.

It is usually located in the FreeType source tree under builds/Win32/visualc

Share this post


Link to post
Share on other sites
There are lots of different versions of the library for debug/release, multithreaded/single threaded, linking dll/static libraries etc. Make sure you have the right one.

Share this post


Link to post
Share on other sites
OK, well I definatly DID have the wrong version, and my current version seems right. But I can't find the .lib files. So I can't include them..Does anyone know wehre I can find these?

Cheers

Sigma

Share this post


Link to post
Share on other sites
OK, I tried a different version, the one with the exe setup. I now have the libs as well as the BCB lib(I'm using BCB6)

But I still have the issue.
I've included

//FreeType stuff
#include <ft2build.h>
#include FT_FREETYPE_H


Added
FreeType/lib/libfreetype-bcc.lib to my project

Added
FreeType/include to my include directories

Tried adding FreeType/lib to my lib directories, but that didn't have any effect


What am I missing?

Cheers

Sigma

[Edited by - _Sigma on November 14, 2004 2:30:31 PM]

Share this post


Link to post
Share on other sites
Common! Must I beg? ;)

I tried adding other headers, but that didn't work. I also tried a full rebuild, but alas, that wasn't the cause...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement