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

Author Topic: mono, linux and sfml2  (Read 2121 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 5
    • View Profile
mono, linux and sfml2
« on: February 07, 2011, 09:29:09 pm »
In linux the cfsml bindings are in libcsfml-@MODULE@.so.2.0.0 files. In sfmlnet the dll imports expects names like "csfml-@MODULE@-2".
The solution, that doesn't require messing with filenames, is adding config files next to sfmlnet dlls:

File sfmlnet-@MODULE@-2.dll.config
Code: [Select]
    <dllmap dll="csfml-@MODULE@-2" target="libcsfml-@MODULE@.so.2.0.0"/>

"@MODULE@" is one of "sound", "graphics" and "window"

I know, that it's easier just to rename file, but I'm working at packaging sfml2 for openSUSE, Fedora and Mandriva and I must follow some shared library policies.


  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
mono, linux and sfml2
« Reply #1 on: February 07, 2011, 11:33:11 pm »
That's right, thanks for your feedback.
Laurent Gomila - SFML developer