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

Author Topic: CSFML2 on ubuntu compile errors.  (Read 4179 times)

0 Members and 1 Guest are viewing this topic.

MaskedPixel

  • Newbie
  • *
  • Posts: 3
    • View Profile
CSFML2 on ubuntu compile errors.
« on: September 08, 2011, 07:47:07 pm »
I am trying to use sfml.net, and I need to compile csfml to accomplish this.  Sfml compiled fine, but when I compile csfml, I get the following errors:

Code: [Select]
[ 51%] Building CXX object src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderWindow.cpp.o
/home/maskedpixl/Development/cpp/lib/sfml/branches/csfml2/src/SFML/Graphics/RenderWindow.cpp: In function ‘sfWindowHandle sfRenderWindow_GetSystemHandle(const sfRenderWindow*)’:
/home/maskedpixl/Development/cpp/lib/sfml/branches/csfml2/src/SFML/Graphics/RenderWindow.cpp:345:5: warning: converting to non-pointer type ‘sfWindowHandle’ from NULL
/home/maskedpixl/Development/cpp/lib/sfml/branches/csfml2/src/SFML/Graphics/RenderWindow.cpp: In function ‘sfImage* sfRenderWindow_Capture(const sfRenderWindow*)’:
/home/maskedpixl/Development/cpp/lib/sfml/branches/csfml2/src/SFML/Graphics/RenderWindow.cpp:480:5: error: return-statement with no value, in function returning ‘sfImage*’
make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderWindow.cpp.o] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Error 2
make: *** [all] Error 2


I am not sure what to do...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
CSFML2 on ubuntu compile errors.
« Reply #1 on: September 08, 2011, 10:43:43 pm »
Thanks for your feedback, it's fixed :)
Laurent Gomila - SFML developer

MaskedPixel

  • Newbie
  • *
  • Posts: 3
    • View Profile
Thanks Laurent!
« Reply #2 on: September 08, 2011, 10:52:47 pm »
You are kind of awesome.

 

anything