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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Random

Pages: [1]
1
C / CSFML2 fails to build
« on: January 02, 2012, 01:43:23 pm »

2
C / CSFML2 fails to build
« on: January 02, 2012, 12:42:08 pm »
I'm trying to build on my ubuntu machine the latest git revision of CSFML, but I took these errors:

Code: [Select]
Scanning dependencies of target csfml-audio
[ 45%] Building CXX object src/SFML/Audio/CMakeFiles/csfml-audio.dir/Listener.cpp.o
[ 48%] Building CXX object src/SFML/Audio/CMakeFiles/csfml-audio.dir/Music.cpp.o
[ 51%] Building CXX object src/SFML/Network/CMakeFiles/csfml-network.dir/SocketSelector.cpp.o
/home/random/Desktop/CSFML/src/SFML/Graphics/Font.cpp: In function ‘sfGlyph sfFont_GetGlyph(sfFont*, sfUint32, unsigned int, sfBool)’:
/home/random/Desktop/CSFML/src/SFML/Graphics/Font.cpp:120:38: error: ‘class sf::Glyph’ has no member named ‘SubRect’
/home/random/Desktop/CSFML/src/SFML/Graphics/Font.cpp:121:38: error: ‘class sf::Glyph’ has no member named ‘SubRect’
/home/random/Desktop/CSFML/src/SFML/Graphics/Font.cpp:122:38: error: ‘class sf::Glyph’ has no member named ‘SubRect’
/home/random/Desktop/CSFML/src/SFML/Graphics/Font.cpp:123:38: error: ‘class sf::Glyph’ has no member named ‘SubRect’
make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/Font.cpp.o] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 54%] Building CXX object src/SFML/Audio/CMakeFiles/csfml-audio.dir/Sound.cpp.o
[ 56%] Building CXX object src/SFML/Network/CMakeFiles/csfml-network.dir/TcpListener.cpp.o
/home/random/Desktop/CSFML/src/SFML/Audio/Music.cpp: In function ‘unsigned int sfMusic_GetChannelsCount(const sfMusic*)’:
/home/random/Desktop/CSFML/src/SFML/Audio/Music.cpp:130:5: error: ‘const class sf::Music’ has no member named ‘GetChannelsCount’
make[2]: *** [src/SFML/Audio/CMakeFiles/csfml-audio.dir/Music.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 59%] Building CXX object src/SFML/Network/CMakeFiles/csfml-network.dir/TcpSocket.cpp.o
[ 62%] Building CXX object src/SFML/Network/CMakeFiles/csfml-network.dir/UdpSocket.cpp.o
make[1]: *** [src/SFML/Audio/CMakeFiles/csfml-audio.dir/all] Error 2
Linking CXX shared library ../../../lib/libcsfml-network.so
[ 62%] Built target csfml-network
make: *** [all] Error 2


Is there a way to fix these errors? Thanks in advance.

Pages: [1]