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

Author Topic: C# SFML using mono for mac/linux  (Read 4215 times)

0 Members and 1 Guest are viewing this topic.

nikokin

  • Newbie
  • *
  • Posts: 2
  • I code
    • View Profile
    • TGP Dev site
C# SFML using mono for mac/linux
« on: August 01, 2012, 07:11:53 pm »
Has anyone tried this? Right now I have an C#/XNA project that I have been (very slowly) converting to C++/SFML. I am not very good at C++ and I get stuck on alot of pointer / linker errors. So staying with C# will help the development process

I recently listened to a podcast of a interview with Blendo Games developer. He uses C# with the SFML binding, then uses mono to compile for mac/linux.
http://blendogames.com/news/?p=106

I just wanted to know if anyone has tried this, and any experiences/problems.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: C# SFML using mono for mac/linux
« Reply #1 on: August 02, 2012, 08:11:35 am »
Many developers use SFML.Net with Mono, no major problem has been reported so far. The only difference with Windows is that you'll need a file that maps Windows DLL names to Unix names (csfml-graphics-2.dll -> libcsfml-graphics.so.2). This is because SFML.Net uses CSFML, and the DLL names are hard-coded in the source code. I don't remember how to fill this file and link it to the SFML.Net projects, but if you search here you should find enough information.
Laurent Gomila - SFML developer