Jump to content
  • Advertisement
Sign in to follow this  
ff8

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

This topic is 5042 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

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!