1
Audio / Re: Sound only plays in event loop
« on: September 20, 2013, 07:24:19 am »
That was it! Thank you so much!
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.
./sfml-app: error while loading shared libraries: libsfml-graphics.so.2: cannot open shared object file: No such file or directory
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindJPEG.cmake:31 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/SFML/Graphics/CMakeLists.txt:104 (find_package)
Configuring incomplete, errors occurred!
graph.cpp: In function ‘int main()’:
graph.cpp:6: error: ‘CircleShape’ is not a member of ‘sf’
graph.cpp:6: error: expected ‘;’ before ‘shape’
graph.cpp:7: error: ‘shape’ was not declared in this scope
graph.cpp:9: error: ‘class sf::RenderWindow’ has no member named ‘isOpen’
graph.cpp:12: error: ‘class sf::RenderWindow’ has no member named ‘pollEvent’
graph.cpp:14: error: ‘class sf::Event’ has no member named ‘type’
graph.cpp:15: error: ‘class sf::RenderWindow’ has no member named ‘close’
graph.cpp:18: error: ‘class sf::RenderWindow’ has no member named ‘clear’
graph.cpp:19: error: ‘class sf::RenderWindow’ has no member named ‘draw’
graph.cpp:20: error: ‘class sf::RenderWindow’ has no member named ‘display’
In file included from /usr/include/SFML/Window.hpp:40,I have a feeling it might be a simple thing, but I don't know. I appreciate any help, thank you.
from /usr/include/SFML/Graphics.hpp:32,
from graph.cpp:1:
/usr/include/SFML/Window/OpenGL.hpp:47:23: error: GL/gl.h: No such file or directory
/usr/include/SFML/Window/OpenGL.hpp:48:24: error: GL/glu.h: No such file or directory
graph.cpp: In function ‘int main()’:
graph.cpp:6: error: ‘CircleShape’ is not a member of ‘sf’
graph.cpp:6: error: expected ‘;’ before ‘shape’
graph.cpp:7: error: ‘shape’ was not declared in this scope
graph.cpp:9: error: ‘class sf::RenderWindow’ has no member named ‘isOpen’
graph.cpp:12: error: ‘class sf::RenderWindow’ has no member named ‘pollEvent’
graph.cpp:14: error: ‘class sf::Event’ has no member named ‘type’
graph.cpp:15: error: ‘class sf::RenderWindow’ has no member named ‘close’
graph.cpp:18: error: ‘class sf::RenderWindow’ has no member named ‘clear’
graph.cpp:19: error: ‘class sf::RenderWindow’ has no member named ‘draw’
graph.cpp:20: error: ‘class sf::RenderWindow’ has no member named ‘display’