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

Pages: 1 [2]
16
General / White Window
« on: January 03, 2011, 01:35:17 am »
For some odd reason my SFML program won't render anything until I mouse over it, or press a key or do anything that qualifies as an event.

How do I fix this?

17
Window / I just do not know what to do!
« on: December 29, 2010, 09:57:58 am »
Quote from: "Laurent"
And what if you use a working example (with at least an event loop so that the window can respond)?
Yes I just tried this.

Result: Nothing.

18
Window / I just do not know what to do!
« on: December 28, 2010, 04:24:02 am »
Here.

Code: [Select]
#include <SFML/Window.hpp>

using namespace sf;

int main()
{
      Window App(VideoMode(800, 600, 32), "SFML Test");
      while(App.IsOpened())
      {
            App.Display();
      }
      return 0;
}

19
Window / I just do not know what to do!
« on: December 28, 2010, 03:12:56 am »
Quote from: "tntexplosivesltd"
AFAIK, you can't use SFML with MinGW 4.4.
This doesn't make sense. The tutorials themselves provide MinGW with gcc 4.4 so you CAN use it.

I'll try with C::B's default MinGW, version 3.45(?) and see if it works. But I doubt it.

20
Window / Re: I just do not know what to do!
« on: December 26, 2010, 08:22:46 am »
Quote from: "Hiura"
Quote from: "Kaphonaits"
So if I put in Styles::Fullscreen
What do you mean ?

The only thing in C::B you may do is set your app as «GUI» and not «Command Prompt» (or somethign like that – the default one if I remember) if you don't want that black thing. Everything else in SFML is not related at all this C::B (or any other IDE).

Follow the tutorials to get an idea of how you should use SFML.  :wink:
Your answer made little to no sense to me.

What I got out of it: To set my app in C::B to GUI (i've done this) and I think you're suggesting that Code::Blocks is the problem and not SFML.

Perhaps you're right, but I refuse to use any other IDE, especially Visual C++ 2010 due to it's god-awful compiler.

21
Window / I just do not know what to do!
« on: December 25, 2010, 06:46:06 am »
Hi. I've been trying to get SFML to work with Code::Blocks and the provided gcc 4.4 MinGW compiler. SFML-System, as the Randomizer works.

The problem comes with using any form of SFML-Window. As what happens is if (in Code::Blocks) I set the kind of application to Console Application, I get a normal blank command prompt window. It won't respond to any styles. So if I put in Styles::Fullscreen, nothing happens. Just the normal blank command prompt window.

If I set it to a GUI Application like it is supposed to be, nothing appears on screen and I have to manually end the process with the Task Manager.

I've tried reinstalling Code::Blocks. I've tried reinstalling SFML.

I've tried linking the libraries dynamically.

No dice.

Please help me. I'm really sick of using SDL for my programs and would like to switch to SFML, but as you can see I probably won't be able to for now. :(

Pages: 1 [2]
anything