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

Started by
1 comment, last by ff8 19 years, 4 months ago
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)


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
thank you i forget to link it :)

This topic is closed to new replies.

Advertisement