1
System / Checking if thread is still running
« on: October 25, 2013, 12:07:14 pm »
Is there anyway to check if a thread is still alive in SFML?
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.
Unhandled Exception: System.DllNotFoundException: libcsfml-graphics.so
at (wrapper managed-to-native) SFML.Graphics.RenderWindow:sfRenderWindow_create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Graphics.RenderWindow..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at SFML.Graphics.RenderWindow..ctor (VideoMode mode, System.String title) [0x00000] in <filename unknown>:0
at shader.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-graphics.so
at (wrapper managed-to-native) SFML.Graphics.RenderWindow:sfRenderWindow_create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Graphics.RenderWindow..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at SFML.Graphics.RenderWindow..ctor (VideoMode mode, System.String title) [0x00000] in <filename unknown>:0
at shader.Program.Main () [0x00000] in <filename unknown>:0
The application was terminated by a signal: SIGHUP
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="csfml-audio-2" target="libcsfml-audio.so" />
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="csfml-graphics-2" target="libcsfml-graphics.so" />
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="csfml-window-2" target="libcsfml-window.so" />
</configuration>
richy@linux-nc18:/usr/local/lib> ls
Box2D libcsfml-network.so.2 libsfml-audio-d.so.2.0 libsfml-network.so.2
libBox2D.a libcsfml-network.so.2.0 libsfml-audio-s.a libsfml-network.so.2.0
libBox2D.so libcsfml-system-d.so libsfml-audio-s-d.a libsfml-system-d.so
libBox2D.so.2.1.0 libcsfml-system-d.so.2 libsfml-audio.so libsfml-system-d.so.2
libBulletCollision.a libcsfml-system-d.so.2.0 libsfml-audio.so.1.6 libsfml-system-d.so.2.0
libBulletDynamics.a libcsfml-system.so libsfml-audio.so.2 libsfml-system-s.a
libBulletSoftBody.a libcsfml-system.so.2 libsfml-audio.so.2.0 libsfml-system-s-d.a
libcsfml-audio-d.so libcsfml-system.so.2.0 libsfml-graphics-d.so libsfml-system.so
libcsfml-audio-d.so.2 libcsfml-window-d.so libsfml-graphics-d.so.2 libsfml-system.so.1.6
libcsfml-audio-d.so.2.0 libcsfml-window-d.so.2 libsfml-graphics-d.so.2.0 libsfml-system.so.2
libcsfml-audio.so libcsfml-window-d.so.2.0 libsfml-graphics-s.a libsfml-system.so.2.0
libcsfml-audio.so.2 libcsfml-window.so libsfml-graphics-s-d.a libsfml-window-d.so
libcsfml-audio.so.2.0 libcsfml-window.so.2 libsfml-graphics.so libsfml-window-d.so.2
libcsfml-graphics-d.so libcsfml-window.so.2.0 libsfml-graphics.so.1.6 libsfml-window-d.so.2.0
libcsfml-graphics-d.so.2 libglfw.a libsfml-graphics.so.2 libsfml-window-s.a
libcsfml-graphics-d.so.2.0 libglfw.so libsfml-graphics.so.2.0 libsfml-window-s-d.a
libcsfml-graphics.so libLinearMath.a libsfml-network-d.so libsfml-window.so
libcsfml-graphics.so.2 libluajit-5.1.a libsfml-network-d.so.2 libsfml-window.so.1.6
libcsfml-graphics.so.2.0 libluajit-5.1.so libsfml-network-d.so.2.0 libsfml-window.so.2
libcsfml-network-d.so libluajit-5.1.so.2 libsfml-network-s.a libsfml-window.so.2.0
libcsfml-network-d.so.2 libluajit-5.1.so.2.0.0 libsfml-network-s-d.a lua
libcsfml-network-d.so.2.0 libsfml-audio-d.so libsfml-network.so pkgconfig
libcsfml-network.so libsfml-audio-d.so.2 libsfml-network.so.1.6
SFML.Graphics.View view = new SFML.Graphics.View(new SFML.Window.Vector2f(wid/2.0f,80)
, new SFML.Window.Vector2f(wid,160));
window.SetView(view);
[ 62%] Building CXX object src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp: In function ‘sfBool sfRenderTexture_IsSmooth(const sfRenderTexture*)’:
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp:242:5: error: no match for ‘operator==’ in ‘renderTexture->sfRenderTexture::This == 0’
/home/richy/csfml/src/SFML/Graphics/RenderTexture.cpp:242:5: note: candidates are:
/usr/local/include/SFML/System/Vector3.inl:157:13: note: template<class T> bool sf::operator==(const sf::Vector3<T>&, const sf::Vector3<T>&)
/usr/local/include/SFML/System/String.hpp:416:22: note: bool sf::operator==(const sf::String&, const sf::String&)
/usr/local/include/SFML/System/String.hpp:416:22: note: no known conversion for argument 1 from ‘const sf::RenderTexture’ to ‘const sf::String&’
/usr/local/include/SFML/Graphics/Rect.inl:125:13: note: template<class T> bool sf::operator==(const sf::Rect<T>&, const sf::Rect<T>&)
/usr/local/include/SFML/System/Vector2.inl:150:13: note: template<class T> bool sf::operator==(const sf::Vector2<T>&, const sf::Vector2<T>&)
/usr/local/include/SFML/Graphics/Color.hpp:98:24: note: bool sf::operator==(const sf::Color&, const sf::Color&)
/usr/local/include/SFML/Graphics/Color.hpp:98:24: note: no known conversion for argument 1 from ‘const sf::RenderTexture’ to ‘const sf::Color&’
make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Error 2
make: *** [all] Error 2