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

Pages: [1]
1
OMG thank you, that was exactly the problem!

2
No I'm using x86  :-\

3
General / Re: sfml collision with textures
« on: February 28, 2019, 08:42:06 pm »
Before your player moves, you need to check which tile they will move to and see if it's a wall, and then only move them if it isn't.

4
After fussing too much with VSCode and trying to compile with MinGW, I decided to try VS Community 2017 today.  So I downloaded it, downloaded the Visual C++ 15 (2017) - 32-bit pre-compiled libs (and extracted to their own folder), and followed these instructions: https://www.sfml-dev.org/tutorials/2.5/start-vc.php

When I tried to build the bare-minimum example in debug mode (I did link the -d libs), it builds successfully and then when I try to run it, I get this:

Code: [Select]
Exception thrown at 0x0F60FA96 (sfml-system-d-2.dll) in sfml-test.exe: 0xC0000005: Access violation reading location 0xCCCCCCD8.

And this exception pops up right next to the first line in main(),
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");

I've googled a lot and find people with other access violations, by not this one from the example code.  If I switch to my release config, it gives me the same error but with different addresses (and says sfml-system-2.dll, omitting the d as I believe it should).

Any help / ideas would be appreciated greatly, as I'm about to give up and move on to another library because I can't get SFML to work for shit on Windows (linux was so much easier, why? why? why?)

Pages: [1]
anything