Im trying to get SFML.Net running o mono, I havejust recompiles SFML, CSFML and SFML.Net, however when trying to run the shader example that comes with SFML.Net I get:
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
Im using the sfmlnet-xxx-2.dll.config files to remap the windows fdll's to linux .so
as so:
<?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>
and the csfml files are in usr/local/lib:
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
Whats even more weird is a project I had that included SFML.Net is now using the newly compiled SFML.Net DLL's and its complaining becuse window.isOpen() doesnt exist, it wants the method to be IsOpen(). However im sure you changd the naming convention for the SFML.Net and CSFML a long time ago.
Anyone know whats going on?