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

Pages: [1]
1
General / SFML2 Basic Tutorial Code Crashing
« on: May 17, 2013, 04:55:51 pm »
Hi all,

I can't get to seem sfml2 working, my program crashes when ran (using just the tutorial code here: http://www.sfml-dev.org/tutorials/2.0/window-window.php).

I am using code::blocks with the GNU GCC Compiler.

I have heard that sometimes the pre-built libaries don't work with it, so I downloaded the SFML-Master and followed the tutorial to build it with C-Make, this process succeeded and produced the .dll and .a files.

My program compiles fine but when running crashes as soon as an sfml function is called. I verified this by adding a "cin.get()" before the tutorial code and it only crashes after pressing enter.

It always returns the same code "-1073741819 (0xC0000005)" if that is any help.

Any idea why this would happen and how to fix it?

Pages: [1]
anything