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 - Illuyankas

Pages: [1]
1
DotNet / SFML.NET/Linux DllNotFoundException
« on: June 13, 2013, 12:28:10 pm »
I am having trouble getting SFML.NET to work under Linux, I tried fiddling around with various solutions suggested on the forums but nothing seems to work.

Quote
    >./shader.exe
    Unhandled Exception: System.DllNotFoundException: libcsfml-window.so.2.0
      at (wrapper managed-to-native) SFML.Window.Window:sfWindow_createFromHandle (intptr,SFML.Window.ContextSettings&)
      at SFML.Window.Window..ctor (IntPtr Handle, ContextSettings settings) [0x00000] in <filename unknown>:0
      at SFML.Window.Window..ctor (IntPtr handle) [0x00000] in <filename unknown>:0
      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-window.so.2.0
      at (wrapper managed-to-native) SFML.Window.Window:sfWindow_createFromHandle (intptr,SFML.Window.ContextSettings&)
      at SFML.Window.Window..ctor (IntPtr Handle, ContextSettings settings) [0x00000] in <filename unknown>:0
      at SFML.Window.Window..ctor (IntPtr handle) [0x00000] in <filename unknown>:0
      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

Quote
> ldconfig  -v | grep "libcsfml"
        libcsfml-graphics.so.2 -> libcsfml-graphics.so.2.0
        libcsfml-network.so.2 -> libcsfml-network.so.2.0
        libcsfml-window.so.2 -> libcsfml-window.so.2.0
        libcsfml-audio.so.2 -> libcsfml-audio.so.2.0

I also tried installing GLEW1.7 as was suggested in a rather old topic here as well installing the newest version (1.9) from their site, that didn't resolve the issue either.

The dll.config(s) do seem to be set up right since the error message shows the library it is supposed to look for, so I am starting to run out of ideas.

Pages: [1]