LaurentGomila/CSFML — Issue #4: CSFML not updated for sf::Time update
Author: zerd
Created: 2012-01-24 22:03:59+00:00
State: open

After adding sf::Time CSFML does not compile.

Scanning dependencies of target csfml-system
[ 2%] Building CXX object src/SFML/System/CMakeFiles/csfml-system.dir/Clock.cpp.o
/Users/henrikno/Software/CSFML/src/SFML/System/Clock.cpp: In function ‘sfUint32 sfClock_GetTime(const sfClock*)’:
/Users/henrikno/Software/CSFML/src/SFML/System/Clock.cpp:59: error: cannot convert ‘sf::Time’ to ‘sfUint32’ in return
/Users/henrikno/Software/CSFML/src/SFML/System/Clock.cpp: In function ‘void sfClock_Reset(sfClock*)’:
/Users/henrikno/Software/CSFML/src/SFML/System/Clock.cpp:66: error: ‘class sf::Clock’ has no member named ‘Reset’
make[2]: *** [src/SFML/System/CMakeFiles/csfml-system.dir/Clock.cpp.o] Error 1
make[1]: *** [src/SFML/System/CMakeFiles/csfml-system.dir/all] Error 2
make: *** [all] Error 2