SFML community forums

Help => General => Topic started by: Wine on November 19, 2009, 10:06:30 pm

Title: unresolved external symbol sf::Font::ourDefaultCharset
Post by: Wine 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
Title: unresolved external symbol sf::Font::ourDefaultCharset
Post by: Laurent 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 ;)
Title: unresolved external symbol sf::Font::ourDefaultCharset
Post by: Wine 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...