Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Font loading font problem [SOLVED]  (Read 1492 times)

0 Members and 1 Guest are viewing this topic.

kamac

  • Newbie
  • *
  • Posts: 19
    • View Profile
sf::Font loading font problem [SOLVED]
« on: November 11, 2011, 10:30:12 am »
I try to load font like that...

Code: [Select]
sf::Font ButtonFont;
ButtonFont.LoadFromFile("arial.ttf");


But i get this error while compiling:

Quote
1>main.obj : error LNK2001: unresolved external symbol "private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)
1>C:\Documents and Settings\MacKam\Pulpit\CPP\Crystal Editor\Release\Crystal Editor.exe : fatal error LNK1120: 1 unresolved externals


What's wrong  :( ?

@EDIT

I would like to load ASCII characters only. Without these special ones like
ąśę itp. But i have only Polish fonts on my computer.

@EDIT2

SFML_DYNAMIC...  :roll:

Solved.

 

anything