Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: RenderWindow->create no instance of overloaded function  (Read 1595 times)

0 Members and 2 Guests are viewing this topic.

Putarda

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
RenderWindow->create no instance of overloaded function
« on: September 19, 2016, 10:04:22 pm »
My code is not working...why?

sf::RenderWindow* window = game->getWindow();

window->/*error*/create(sf::VideoMode(1600, 800), game->getName(), sf::Style::Default, window_settings);

error: no instance of overloaded function "sf::RenderWindow::create" matches the argument list

Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 878
    • View Profile
Re: RenderWindow->create no instance of overloaded function
« Reply #1 on: September 20, 2016, 03:12:59 pm »
You're not showing enough code to properly tell.

There should also be more to that error message. It should tell you what you tried to use and what's availalbe as candidates.

 

anything