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

Author Topic: unresolved external symbol sf::Font::ourDefaultCharset  (Read 4775 times)

0 Members and 1 Guest are viewing this topic.

Wine

  • Newbie
  • *
  • Posts: 11
    • View Profile
unresolved external symbol sf::Font::ourDefaultCharset
« on: November 19, 2009, 10:06:30 pm »
Hello,

I have an problem with SFML 1.5 liblary. When I'm run it in debug mode is OK but when I want to link it in release I get that linker error:
Code: [Select]
error LNK2001: unresolved external symbol "private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)

That is the only error I get. I have latest liblaries for release mode (I downloaded them minute ago) and problem still is. I working in Visual C++ 2008 Express Edition, maybe that info will help. What should I do now?

PS. I'm from Poland so I apologize for language errors... but I think you will understand me...

Wine

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
unresolved external symbol sf::Font::ourDefaultCharset
« Reply #1 on: November 19, 2009, 10:25:51 pm »
You should read the "getting started" tutorial again, and stop when you see the word SFML_DYNAMIC ;)
Laurent Gomila - SFML developer

Wine

  • Newbie
  • *
  • Posts: 11
    • View Profile
unresolved external symbol sf::Font::ourDefaultCharset
« Reply #2 on: November 19, 2009, 10:46:57 pm »
Thanks, now linking without errors. I think that what is now (the debug liblaries, SFML_DYNAMIC macro etc.) is bit... strange, but maybe I'm not accustomed...

 

anything