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

Author Topic: SFML 2.0 .NET on OS X Issues  (Read 3257 times)

0 Members and 1 Guest are viewing this topic.

Hedgehodg

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
SFML 2.0 .NET on OS X Issues
« on: March 29, 2013, 01:18:45 pm »
Hey, I'm having some issues that have to do with running an SFML 2.0 .NET application with Mono on OS X.

I've downloaded the SFML .NET source code, complied it, and referenced "sfmlnet-graphics-2.0.dll", "sfmlnet-window-2.0.dll", and "sfmlnet-audio-2.0.dll" in my project. I tried adding the "csfml-*-2.dll" dlls from the "exlibs" to the folder where the project executable is, but I always get a "DllNotFound" relating to the csfml dlls. So I tried downloading the C MAC version of SFML 2.0 to replace them. I replaced the "csfml-*-2.dll" libraries with their "libcsfml-*-2.0" dylib counterparts. I then created config files for each "sfmlnet-*-2.0" dll like so:

E.g: sfmlnet-graphics-2.0.dll.config
<configuration>
    <dllmap dll="csfml-graphics-2" target="libcsfml-graphics-2.0.dylib" />
</configuration>

But to no avail. I get "DllNotFound" exceptions for "libcsfml-*-2.0.dylib". Is there anyway to fix this/get SFML .NET working with mono on OS X? Thanks :)

SymegPL

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: SFML 2.0 .NET on OS X Issues
« Reply #1 on: March 29, 2013, 11:20:06 pm »
http://www.mono-project.com/DllNotFoundException

I don't use Mac OS and Mono but try this:
<configuration>
    <dllmap dll="csfml-graphics-2.dll" target="libcsfml-graphics-2.0.dylib" />
</configuration>

Hedgehodg

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: SFML 2.0 .NET on OS X Issues
« Reply #2 on: March 31, 2013, 01:17:35 am »
Unfortunately, that didn't work either ;(.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: SFML 2.0 .NET on OS X Issues
« Reply #3 on: April 02, 2013, 05:26:10 pm »
According to the article pointed by SymegPL you might have to play around with ldconfig. Did that help ?

(but I never used Mono so I have no clue what's the issue. :p)
SFML / OS X developer

 

anything