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

Pages: [1]
1
Window / Re: SFML window crashes
« on: January 30, 2013, 04:25:10 pm »
Hello,

Thank you for your help  ;)

Quote
Btw if you're posting code, you should make use of the code=cpp tag and not use a quote.

OK, just found it and I edited my post, thanks  ;)

I just tried using the libraries you recommend and it compiles and runs nicely now with the code you gave me  :D My code posted in the first topic doesn't work anymore, I suppose it's because I'm now using SFML 2.0 in stead of 1.6 ?

Anyway, I'm going to discover SFML, I'll surely be back with other questions and problems  :P

Have a good day,

Maxime.

2
Window / SFML window crashes
« on: January 30, 2013, 12:05:33 am »
Hello all,

I'm completely new to libraries and just found out this library. I'm using Code-blocks, I have some C++ basic knowledge.

I tried a first window as shown on the tutorial. When I compile everything compiles nicely, my console starts but no window. Instead I have a message "SFML.exe stopped working"

Any idea what this could be ? Here's my code (very basic) :

#include <SFML/Window.hpp>
#include <iostream>

int main()
{
 // Create the main window
    sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");

    // Start main loop
    bool Running = true;
    while (Running)
    {
        App.Display();
    }

    return EXIT_SUCCESS;
}


Thank you very much,

Maxime.

Pages: [1]
anything