Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: DLL issues again  (Read 4354 times)

0 Members and 1 Guest are viewing this topic.

Wurstinator

  • Newbie
  • *
  • Posts: 33
    • View Profile
DLL issues again
« on: July 01, 2014, 09:50:17 pm »
Hi,
apparently many people had this issue but all the help Google could provide me with did not solve it for me:
I get a System.DllNotFoundException for libcsfml-graphics.so.2 when trying to create a RenderWindow for example.
I have the Assembly References set up correctly and the CSFML files are located in my /usr/ directory. I set up the file sfmlnet-graphics-2.dll.config like so:
<configuration>
   <dllmap dll="csfml-graphics-2" target="libcsfml-graphics.so.2" os="linux"/>
</configuration>

I have not found any more advice for this problem since apparently it worked for everyone else like this.

s.baus

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: DLL issues again
« Reply #1 on: July 05, 2014, 12:59:20 pm »
Hello,

I had similar problems on linux, but can't remember what I actually did. Are you sure, that the file "libcsfml-graphics.so.2" exists on /usr? Is it only a link or a real file?

Hope this helps a bit
Sven
AudioCuesheetEditor, your #1 CuesheetEditor.

http://sourceforge.net/projects/audiocuesheet

Wurstinator

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: DLL issues again
« Reply #2 on: July 05, 2014, 09:27:23 pm »
It exists in /usr/local/lib, yes. It is a link but the real file does exist there as well. I also tried to load the real file (.so.2.1) directly instead of the link, there was no difference.

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: DLL issues again
« Reply #3 on: July 06, 2014, 04:34:09 am »
Is SFML installed and have you ran ldconfig as sudo?
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Wurstinator

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: DLL issues again
« Reply #4 on: July 06, 2014, 09:25:16 pm »
Yes, I have done that.

s.baus

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: DLL issues again
« Reply #5 on: July 09, 2014, 08:12:27 am »
Hey, I'm currently also working on a Linux port (since I also use mono) and had the same problem: I searched the net a bit and found this: https://stackoverflow.com/questions/23448259/sfml-net-cant-locate-native-library-on-linux
The comment
Quote
Wait, looks like i found the missing link... libcsfml != libsfml
seems to do the trick. I corrected the libcsfml to libsfml and came a bit further (I get an exception, but not the dllnotfoundexception). Try this ;).
AudioCuesheetEditor, your #1 CuesheetEditor.

http://sourceforge.net/projects/audiocuesheet