Sign in to follow this  
ff8

i have some problem with glFont ... *solved*

Recommended Posts

hello everyone ... i am trying to use glFont lib for the font but when i try to use it i get these errors ...
--------------------Configuration: lesson1 - Win32 Debug--------------------
Compiling...
Lesson1.cpp
Linking...
Lesson1.obj : error LNK2001: unresolved external symbol "public: __thiscall glfont::GLFont::GLFont(void)" (??0GLFont@glfont@@QAE@XZ)
Lesson1.obj : error LNK2001: unresolved external symbol "public: __thiscall glfont::GLFont::~GLFont(void)" (??1GLFont@glfont@@QAE@XZ)
Lesson1.obj : error LNK2001: unresolved external symbol "public: bool __thiscall glfont::GLFont::Create(char const *,int)" (?Create@GLFont@glfont@@QAE_NPBDH@Z)
Debug/lesson1.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

lesson1.exe - 4 error(s), 0 warning(s)


Share this post


Link to post
Share on other sites
have you linked the lib, either through a pragma or through your compiler. If not then add this to one of your source files

#pragma comment (lib, "glFont.lib")


HTH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this