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

Pages: [1]
1
Graphics / Re: Texture does not load properly
« on: February 12, 2016, 02:14:47 pm »
It was set to Windows subsystem, i chanced it to console, now im getting messages on console but still no image is being drawn.

This is the console output
Failed to load image "Press any key to continue . . .

2
Graphics / Re: Texture does not load properly
« on: February 07, 2016, 05:00:44 pm »
no output on console , not even std::cout << "test" works

3
Graphics / Texture does not load properly
« on: February 07, 2016, 01:58:39 pm »
Code =
sf::Texture img;
      if (!img.loadFromFile("img.png")) {
         throw std::runtime_error("Could not load image.png");
      }

I copied that "img.png" to everywhere, from exe to project directory to directory where vcproject is located. It still fails to load.
This is working directory of project = $(ProjectDir)

Pages: [1]