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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Beehive

Pages: [1]
1
Graphics / Error when using LoadFromFile
« on: March 20, 2011, 10:55:21 am »
Arg, thanks a lot. I accidently switched from debug to release without noticing and was 100% sure I had defined it :)

2
Graphics / Error when using LoadFromFile
« on: March 19, 2011, 11:10:21 pm »
Hi all,

I'm just new to SFML and managed to get a lot of tutorials to run for me so far. However, now I wanted to draw some Text, and whenever I try the following

Code: [Select]

// Load from a font file on disk
if (!MyFont.LoadFromFile("arial.ttf"))
{
   return EXIT_FAILURE;
}


i get this error:

Code: [Select]

1>testSFML.obj : error LNK2001: unresolved external symbol "private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)


I'm using Visual Studio 2008 on x64 Win 7.

Can anyone hint me on what I am doing wrong?

Thanks and regards
Chris

Pages: [1]
anything