SFML community forums

Bindings - other languages => DotNet => Topic started by: MarekkPie on March 30, 2012, 07:31:07 am

Title: SFML.Net 2.0 and Mono: Getting Started Guide
Post by: MarekkPie on March 30, 2012, 07:31:07 am
I spent most of yesterday getting SFML.Net 2.0 to work with Mono on Linux machines, and figured I might as well write down my process to get it to work. Might not be a HUGE audience for this, but whatever, I had fun writing it.

http://scriptogr.am/mkosler/post/sfml.net-2.0-and-mono

Update: new site, and an explanation on how to skip the CSFML and SFML++ compilation.
Title: Re: SFML.Net 2.0 and Mono: Getting Started Guide
Post by: Laurent on March 30, 2012, 08:01:27 am
Thanks for sharing :)
Title: Re: SFML.Net 2.0 and Mono: Getting Started Guide
Post by: MarekkPie on April 28, 2012, 08:13:59 am
With the release candidates out, this process has gotten much simpler overall, but there are now a few new hiccups you have to be careful for.

I'll post a more formal walkthrough later, but in the meantime, here are the main changes that I recall:
Title: Re: SFML.Net 2.0 and Mono: Getting Started Guide
Post by: MarekkPie on May 12, 2012, 02:27:21 am
Don't know if anyone is using this, but if so, for the next hour or more the site will be offline as I switch to a different blogging platform. Once that transition is complete, I'll throw it back up and provide a new link. Thanks for your patience.

The post is now back up and running.
Title: Re: SFML.Net 2.0 and Mono: Getting Started Guide
Post by: nikokin on August 03, 2012, 05:44:20 am
I tried following your tutorial, I thought I did everything right, but when I run I get this error:

Code: [Select]
** (/home/niko/programming/ProjectTurtle/projectturtle/bin/Debug/projectturtle_lin.exe:10568): WARNING **: Error parsing X
\xcc\u0008p
\xcc\u0008: Error on line 4 char 17: Element 'configuration' was closed, but the currently open element is 'dllmap'

** (/home/niko/programming/ProjectTurtle/projectturtle/bin/Debug/projectturtle_lin.exe:10568): WARNING **: Error parsing xa\xcc\u0008\x90a\xcc\u0008: Error on line 3 char 17: Element 'configuration' was closed, but the currently open element is 'dllmap'

Unhandled Exception: System.DllNotFoundException: /usr/local/lib/libcsfml-graphics.so.2.0

I think the "parse" errors are causing a problem in the .config files so then the DLLNotFoundException happens. I followed the mono tutorial on the DLLNotFoundException aswell. But when I run "ldconfig -p | grep libcs", It does not list libcsfml-graphics.so.2.0, but lists libcsfml-graphics.so.2  (without the extra .0)