1
Graphics / Font Linking
« on: September 20, 2010, 01:59:35 pm »
I seem to have fixed it by my self. My Init() method was not quite right.
Thanks for your help.
Thanks for your help.
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.
unsigned int Font::GetCharacterSize() const
{
return myCharSize;
}
error LNK2001: unresolved external symbol "private: static unsigned int * sf::Font::ourDefaultCharset" (?ourDefaultCharset@Font@sf@@0PAIA)
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
int main()
{
sf::RenderWindow Game(sf::VideoMode(800, 600, 32), "SFML Blank Window");
sf::Event Event;
while(Game.IsOpened())
{
while(Game.GetEvent(Event))
{
if(Event.Type == sf::Event::Closed)
Game.Close();
}
Game.Clear();
Game.Display();
}
return EXIT_SUCCESS;
}