SFML community forums
Bindings - other languages => DotNet => Topic started by: m00npirate on November 05, 2011, 11:56:38 pm
-
I would like to use SFML2.0 with mono. Before I begin trying to get it to work, is this even possible?
More info:
I have successfully built sfml2 with VC++ 2010, and I've used the c++ bindings before. I see that the .net versions use the c binding. Are these available for 2.0?
EDIT2: Just saw that there's a separate repository for CSFML. Is this 2.0?
EDIT3: Got csfml to compile, now trying to get it to gel with .net
EDIT4: After 4 hours of work I got everything to work out! Renders 8000 sprites at 120fps, not too bad!
-
CSFML libraries are provided in the SFML.Net repository, you don't have to recompile everything ;)
-
I'm running into similar problems with SFML.Net and Mono. I've managed to get the example SFML.Net application to compile, but upon running I get some dll errors. I was hoping someone could shed light on these.
http://pastie.org/pastes/3133465
I have dll's all over the place, trying to cover all my bases and nothing seems to be helping.
-
Try this:
http://www.sfml-dev.org/forum/viewtopic.php?p=37262#37262
-
No joy. It may be the small difference between linux and mac, but after 6 hours of wracking my brain on this I'm going to give it a break.
-
Oh, so you are on OS X?
-
Yeah. I've gone over every thread I can find with SFML.Net/Mono without luck. Do you know what the equivalent file type under Mac is for .so? I've been using .dylib in place for the guide you linked.
For the time being I'm just going to code in C++.
-
It should be .dylib, yes. But do you have the CSFML .dylib files?
-
Yes I compiled everything from scratch: SFML (older revision, pre- merge branch into Drawables), CSFML, and SFML.Net, all using Makefiles.