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

Pages: [1]
Feature requests / sf::String append function
« on: August 13, 2008, 10:24:37 am »
In addition to the setText functions, it would be nice to have an append function. Even better would be if it could handle different data types such as integers and floats.

for example, if you would like to display scores in a game.

setText("score: ");

Window / Sfml 1.3 Visual studio express 2008 error
« on: June 30, 2008, 12:57:43 pm »
I tried once more after updating the sound card drivers but the fault remain.

It's probably the midi interface and/or the controller knobs on the sound card that are handled as a joystick.

Window / Problem "solved"
« on: June 30, 2008, 11:33:38 am »

Upon debugging, I saw that I got a break point in joystick.cpp at line 111.

Then I tested to unplug my USB soundcard (Hercules DJ consol) and it solved the problem(!). Some kind of driver error? Library error?

I guess I have to use only my internal sound card for now then.

Window / Sfml 1.3 Visual studio express 2008 error
« on: June 30, 2008, 09:47:47 am »
I have linked "sfml-window-d.lib sfml-system-d.lib sfml-main-d.lib", I'm running windows XP SP2 32-bit.

I've tried both a win32 consol and win32 project solution in visual studio.

This is the solution/project file http://www.klaesson.net/sfmltest.rar

Window / Sfml 1.3 Visual studio express 2008 error
« on: June 29, 2008, 10:27:38 pm »
I've tried compiling just a simple program to test the sfml library.

The program is really simple.

#include <SFML/Window.hpp>
int main()
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
while (true)
    return EXIT_SUCCESS;

I link the VC2008 libraries and use the supplied DLL-files.
In debug mode I use the -d libraries and in release I use the regular libraries.

In debug mode I get the error message "Run-Time Check Failure #2 - Stack around the variable 'State' was corrupted."

And relaese mode doesn't work at all.

I've also tried compiling the libraries using the supplied vc2000 Solution and used the libraries and dll's with no solution to the problem.

It allways crashes when the window is about to be initiated at "sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");"

Pages: [1]