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

Pages: [1]
1
Graphics / Re: Texture::loadFromFile causes access violation
« on: January 05, 2014, 12:51:42 am »
Ah, I had to compile SFML manually, because I'm using VS2013. Works now!

2
Graphics / Texture::loadFromFile causes access violation
« on: January 04, 2014, 11:51:20 pm »
I'm trying to load a Texture image from file. Simply put, I'm calling Texture::loadFromFile and it's causing an access violation error. I've verified that the working directory is what I expect it to be, by using _getcwd. The image file exists at the specified path, relative to the working directory. Yet, I can't seem to get it to work.

I'm using VS2013, on Windows 8.1 64-bit. Any ideas?

3
General / Texture::loadFromFile always fails
« on: December 17, 2013, 01:00:41 am »
I'm compiling code with Visual Studio 2013 and SFML 2.1. The code compiles, and runs, but Texture::loadFromFile always returns false. I've tried feeding it a relative path to the working directory, an absolute path directory to a png file, and neither seem to work. Is there a way I can see exactly what it's trying to load or the error message as to why it's failing? I can't figure out how to use sf::err() to read error messages.

Thanks!

Pages: [1]
anything