Sorry to bump this but im having the same issues with the window example.
I have tried changing the config file but still get this:
richy@Richy-Len:~/sfmlnet/examples/window$ dir
sfmlnet-audio-2.dll.config sfmlnet-window-2.dll.config window.csproj
sfmlnet-graphics-2.dll.config sfmlnet-window-2.dll.mdb window.exe
sfmlnet-window-2.dll Window.cs window.exe.mdb
richy@Richy-Len:~/sfmlnet/examples/window$ mono window.exe
Unhandled Exception: System.DllNotFoundException: libcsfml-window.so.2
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-window.so.2
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
richy@Richy-Len:~/sfmlnet/examples/window$ mono window.exe
Unhandled Exception: System.DllNotFoundException: libcsfml-window.so.2.0
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-window.so.2.0
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
richy@Richy-Len:~/sfmlnet/examples/window$ mono window.exe
Unhandled Exception: System.DllNotFoundException: libcsfml-window.so
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-window.so
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
richy@Richy-Len:~/sfmlnet/examples/window$ mono window.exe
Unhandled Exception: System.DllNotFoundException: libcsfml-window.so
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-window.so
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
richy@Richy-Len:~/sfmlnet/examples/window$ mono window.exe
Unhandled Exception: System.DllNotFoundException: libcsfml-window.so.2.0
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: libcsfml-window.so.2.0
at (wrapper managed-to-native) SFML.Window.Window:sfWindow_Create (SFML.Window.VideoMode,string,SFML.Window.Styles,SFML.Window.ContextSettings&)
at SFML.Window.Window..ctor (VideoMode mode, System.String title, Styles style, ContextSettings settings) [0x00000] in <filename unknown>:0
at window.Program.Main () [0x00000] in <filename unknown>:0
richy@Richy-Len:~/sfmlnet/examples/window$
I built both SFML and cSFML and these are installed in /usr/local
with my config files looking like:
<configuration>
<dllmap dll="csfml-window-2" target="libcsfml-window.so.2.0" />
</configuration>
and my usr/local/lib has:
richy@Richy-Len:/usr/local/lib$ dir
libcsfml-audio-d.so libcsfml-window-d.so libsfml-network-d.so.2.0
libcsfml-audio-d.so.2 libcsfml-window-d.so.2 libsfml-network-s.a
libcsfml-audio-d.so.2.0 libcsfml-window-d.so.2.0 libsfml-network-s-d.a
libcsfml-audio.so libcsfml-window.so libsfml-network.so
libcsfml-audio.so.2 libcsfml-window.so.2 libsfml-network.so.2
libcsfml-audio.so.2.0 libcsfml-window.so.2.0 libsfml-network.so.2.0
libcsfml-graphics-d.so libsfml-audio-d.so libsfml-system-d.so
libcsfml-graphics-d.so.2 libsfml-audio-d.so.2 libsfml-system-d.so.2
libcsfml-graphics-d.so.2.0 libsfml-audio-d.so.2.0 libsfml-system-d.so.2.0
libcsfml-graphics.so libsfml-audio-s.a libsfml-system-s.a
libcsfml-graphics.so.2 libsfml-audio-s-d.a libsfml-system-s-d.a
libcsfml-graphics.so.2.0 libsfml-audio.so libsfml-system.so
libcsfml-network-d.so libsfml-audio.so.2 libsfml-system.so.2
libcsfml-network-d.so.2 libsfml-audio.so.2.0 libsfml-system.so.2.0
libcsfml-network-d.so.2.0 libsfml-graphics-d.so libsfml-window-d.so
libcsfml-network.so libsfml-graphics-d.so.2 libsfml-window-d.so.2
libcsfml-network.so.2 libsfml-graphics-d.so.2.0 libsfml-window-d.so.2.0
libcsfml-network.so.2.0 libsfml-graphics-s.a libsfml-window-s.a
libcsfml-system-d.so libsfml-graphics-s-d.a libsfml-window-s-d.a
libcsfml-system-d.so.2 libsfml-graphics.so libsfml-window.so
libcsfml-system-d.so.2.0 libsfml-graphics.so.2 libsfml-window.so.2
libcsfml-system.so libsfml-graphics.so.2.0 libsfml-window.so.2.0
libcsfml-system.so.2 libsfml-network-d.so pkgconfig
libcsfml-system.so.2.0 libsfml-network-d.so.2 python2.7
richy@Richy-Len:/usr/local/lib$