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

Author Topic: Error building latest snapshot  (Read 4328 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
Error building latest snapshot
« on: February 25, 2012, 05:05:12 am »
Im having to build CSFML to get the new SFML.Net working on linux but I gt this error when compiling the debug version:

Code: [Select]
[ 62%] Building CXX object src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp: In function ‘sfBool sfRenderTexture_IsSmooth(const sfRenderTexture*)’:
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp:242:5: error: no match for ‘operator==’ in ‘renderTexture->sfRenderTexture::This == 0’
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp:242:5: note: candidates are:
/usr/local/include/SFML/System/Vector3.inl:157:13: note: template<class T> bool sf::operator==(const sf::Vector3<T>&, const sf::Vector3<T>&)
/usr/local/include/SFML/System/String.hpp:416:22: note: bool sf::operator==(const sf::String&, const sf::String&)
/usr/local/include/SFML/System/String.hpp:416:22: note:   no known conversion for argument 1 from ‘const sf::RenderTexture’ to ‘const sf::String&’
/usr/local/include/SFML/Graphics/Rect.inl:125:13: note: template<class T> bool sf::operator==(const sf::Rect<T>&, const sf::Rect<T>&)
/usr/local/include/SFML/System/Vector2.inl:150:13: note: template<class T> bool sf::operator==(const sf::Vector2<T>&, const sf::Vector2<T>&)
/usr/local/include/SFML/Graphics/Color.hpp:98:24: note: bool sf::operator==(const sf::Color&, const sf::Color&)
/usr/local/include/SFML/Graphics/Color.hpp:98:24: note:   no known conversion for argument 1 from ‘const sf::RenderTexture’ to ‘const sf::Color&’
make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Error 2
make: *** [all] Error 2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Error building latest snapshot
« Reply #1 on: February 25, 2012, 09:50:22 am »
It's fixed, thanks for your feedback.
Laurent Gomila - SFML developer

 

anything