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

Author Topic: Problem with sf::String in Revision 1317 (sfml2)  (Read 2284 times)

0 Members and 1 Guest are viewing this topic.

K-Bal

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • pencilcase.bandcamp.com
    • Email
Problem with sf::String in Revision 1317 (sfml2)
« on: January 04, 2010, 05:59:04 pm »
This

Code: [Select]

...
sf::String myString;
...
myWindow.Draw(myString);
...


causes the following compile errors:

Quote

main.cpp:202: error: no matching function for call to ‘sf::RenderWindow::Draw(sf::String&)’

/usr/local/include/SFML/Graphics/RenderTarget.hpp:69: note: candidates are: void sf::RenderTarget::Draw(const sf::Drawable&)


;)

Marius
Listen to my band: pencilcase.bandcamp.com

Phoenix

  • Newbie
  • *
  • Posts: 27
    • View Profile
Problem with sf::String in Revision 1317 (sfml2)
« Reply #1 on: January 04, 2010, 06:09:54 pm »

 

anything