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:
[ 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...