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 - FrozenKiller

Pages: [1]
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.  :D  :D

2
Graphics / Font Linking
« on: September 20, 2010, 12:56:14 pm »
Thank you.

That got me past the compile stage, now I get a Access Violation at the following line in Font.cpp

Code: [Select]

unsigned int Font::GetCharacterSize() const
{
    return myCharSize;
}


TIA

3
Graphics / Font Linking
« on: September 20, 2010, 12:24:34 pm »
Hello

I am trying to add some simple text to my game, but it seems I can't call Font::LoadFromFile(). My compiler gives me this:
Code: [Select]

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


I am linking with all the debug .lib files in VC++ 10 Express.

TIA

4
Window / New Window Crashing
« on: September 17, 2010, 01:34:48 pm »
All working well after compiling under VC++ 2010. Thanks for your help.

5
Window / New Window Crashing
« on: September 17, 2010, 12:52:32 pm »
Hello,

I have just started with SFML, and I am having trouble rendering a window. My code:

Code: [Select]
#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;
}


It crashes on load. I am running Win7 64-bit, MSVC++ 2010, SFML 1.6 pre-compiled.

TIA

Pages: [1]