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

Pages: [1]
1
Window / Window closes after 15 seconds of execution
« on: March 18, 2012, 03:39:36 pm »
Desktop pc: Intel Core2Duo e8400, 6GB DDR2, GeForce 8800GT, Windows 7 Professional 64-bit

Laptop: Intel Pentium P6000, 4GB DDR2, Intel HD Graphics, Windows 7 Professional 64-bit

I can't give exact piece of code since I don't know what it could be and tbh I don't believe it's code side problems since it works normally on any other computer I've tried.

2
Window / Window closes after 15 seconds of execution
« on: March 18, 2012, 01:30:47 pm »
I have this strange problem where my game closes its window after 15 seconds.

I use code::blocks and to make things even more interesting it only closes the window on my laptop. If I run the exact same code on my desktop pc or my friends runs it on his own pc it works fine.

Any idea why this could happen?

3
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 07:30:53 pm »
I tried but I couldn't get it installed, I just don't know what to do

Quote
Now that you've chosen the build directory, there's one more thing to do before you can run CMake. When CMake configures your project, it tests the availability of the compiler (and checks its version as well). As a consequence, the compiler executable must be available when CMake is run. This is not a problem for Linux and Mac OS X users, since the compilers are installed in a standard path and are always globally available, but on Windows you may have to add the directory of your compiler in the PATH environment variable, so that CMake can find it automatically. This is especially important when you have several compilers installed, or multiple versions of the same compiler.

On Windows, if you want to use gcc (MinGW), you can temporarily add the MinGW\bin directory to the PATH and then run cmake from the command shell:

> set PATH=%PATH%;your_mingw_folder\bin
> cmake

With Visual C++, you can either run CMake from the "Visual Studio command prompt" available from the start menu, or call the vcvars32.bat file of your Visual Studio installation; it will setup the environment variables properly.

> your_visual_studio_folder\VC\bin\vcvars32.bat
> cmake

I don't understand what I'm supposed to do in this part

4
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 06:53:10 pm »
Yes, Windows 7 Professional 64-bit Version 6.1 (Build 7601: Service Pack 1)

5
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 05:33:49 pm »
Ok, now I had little patience when running the program in debug mode and the graphics window popped up about 10-15 seconds after I had started the program and works fine, but every time I run the program I have to wait for that 10-15 seconds???

and this is when I'm using VS2008

6
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 04:23:23 pm »
Quote from: "Laurent"
Quote
tried to compile it with static and dll both but didn't help

Can you explain what you did exactly?

I opened the SFML.sln project from SFML-1.6\build\vc2008 directory with VS2010 Premium. Let it port the solution from 2008 to 2010, deleted the examples so that there was left sfml-audio, sfml-graphics, sfml-main, sfml-network, sfml-system and sfml-window in the project. Then I chose "Debug DLL" and "Build", "Release DLL" and "Build" and tried to run a program.

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

int main()
{
sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Window");

while(window.IsOpened())
{
sf::Event Event;
while(window.GetEvent(Event))
{
if(Event.Type == sf::Event::Closed)
{
window.Close();
}
}
window.Clear();
window.Display();
}
return EXIT_SUCCESS;
}


I couldn't get the window to show so I opened the same SFML solution again and chose "Debug static" "Rebuild" "Release static" "Rebuild" and tried again but it didn't work.

7
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 04:06:14 pm »
Quote from: "Laurent"
Don't forget the ATI bug, with SFML 1.6 and dynamic SFML libraries on Windows.

If this is it, switch to static libraries or to SFML 2.

tried to compile it with static and dll both but didn't help, I'll give 2.0 a go

8
Graphics / RenderWindow object crashes during Graphics Tutorial.
« on: October 19, 2011, 03:48:30 pm »
I'm having problems too, and I'm starting to have enough...

I've tried several different IDE, Visual Studio 2008, Visual Studio 2010 and Code::Blocks and none of them will open the graphics window. They only open the console window and that's it. I've tried building the SFML solution with VS2010 but it didn't help. And I have everything linked correctly in each IDE and it builds fine. Running the program isn't working.

If someone could tell me what to do, it would be great.

To add some more mystery into this is that it worked last week just fine when I was using sfml library

Pages: [1]
anything