Thread overview
DSFML reaches version 2.1
Oct 07, 2015
Jeremy DeHaan
Oct 07, 2015
Andrea Fontana
Oct 07, 2015
Dmitry
Oct 07, 2015
Erika Quinn
Oct 07, 2015
suliman
Oct 07, 2015
Jeremy DeHaan
Oct 07, 2015
Israel
Oct 07, 2015
Israel
Oct 07, 2015
Jeremy DeHaan
Oct 08, 2015
Jeremy DeHaan
October 07, 2015
It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!)

DSFML(along with its backend DSFMLC) is a binding and a wrapper for SFML - the Simple and Fast Multimedia Library. It does input(mouse, keyboard, joysticks/gamepads), audio (buffered playback, streamed playback, recording), networking(tcp/udp sockets, ftp, http), window and OpenGL context creation, and simple 2D graphics using OpenGL (sprites, text, shapes, shaders, and vertex arrays). Currently works on Linux, Windows, and OS X.

Reasons that this took so long was:
- Many bug fixes
- Finally passed all included unit tests
- Things make more sense
- Created a website
- Added documentation
- Added tutorials
- School's a bitch

Visit the website at http://dsfml.com to view tutorials, documentation, forum, and downloads.

Just a heads up, I have never gotten a project to a point like this. I have never had to put a website or tutorials together for anything, and this is the first "real" release. I'm sure some things don't make as much sense as I think they do. Go easy on me ;)

Plans for the future:
- Make things more idiomatic to D
- Update to most recent version of SFML
- Better everything (tests, documentation, tutorials, website)

Check it out, have fun, and most importantly let me know if you have issues!

https://github.com/Jebbs/DSFML
https://github.com/Jebbs/DSFMLC
http://code.dlang.org/packages/dsfml
October 07, 2015
On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote:
> It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!)

Nice job!

October 07, 2015
Thank you!


October 07, 2015
It's great to see all this work finally come to fruition, congrats Jebbs!

(DSFML is totally worth checking out; I've been using it in my project for a couple years now)
October 07, 2015
Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib
October 07, 2015
On Wednesday, 7 October 2015 at 12:44:13 UTC, suliman wrote:
> Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib

It's not really a gui library. I mean, you could use it as such I guess, but it's more for game development.
October 07, 2015
On Wednesday, 7 October 2015 at 14:07:59 UTC, Jeremy DeHaan wrote:
> On Wednesday, 7 October 2015 at 12:44:13 UTC, suliman wrote:
>> Perfect!!! Big thanks! I think not only one are tired from GTK, and need simple and compact gui lib
>
> It's not really a gui library. I mean, you could use it as such I guess, but it's more for game development.

Thanks alot. I like to make my own GUI from scratch though since touch input is really not that complicated.

Im working on touchscreen like applications for windows tablets
October 07, 2015
On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote:
> It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!)
>
> [...]

Oh and you forgot to include these in the prebuilt binaries for windows.

libgcc_s_dw2-1.dll
libsndfile-1.dll
libstdc++-6.dll
libwinpthread-1.dll
openal32.dll
October 07, 2015
On Wednesday, 7 October 2015 at 16:44:30 UTC, Israel wrote:
> On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote:
>> It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!)
>>
>> [...]
>
> Oh and you forgot to include these in the prebuilt binaries for windows.
>
> libgcc_s_dw2-1.dll
> libsndfile-1.dll
> libstdc++-6.dll
> libwinpthread-1.dll
> openal32.dll

Crap! Iknew I forgot something.  I'll get that fixed tonight. You should only be missing the libsndfile and openal dll's though. I statically linked to everything else.  Apparently MinGW doesn't like to do static links to these libraries?  Maybe I'll rebuild it with VC instead.
October 08, 2015
On Wednesday, 7 October 2015 at 17:13:13 UTC, Jeremy DeHaan wrote:
> On Wednesday, 7 October 2015 at 16:44:30 UTC, Israel wrote:
>> On Wednesday, 7 October 2015 at 06:43:18 UTC, Jeremy DeHaan wrote:
>>> It is my pleasure to announce that DSFML hit version 2.1! This version has been a long time coming, but this represents a huge milestone for DSFML (and for me!)
>>>
>>> [...]
>>
>> Oh and you forgot to include these in the prebuilt binaries for windows.
>>
>> libgcc_s_dw2-1.dll
>> libsndfile-1.dll
>> libstdc++-6.dll
>> libwinpthread-1.dll
>> openal32.dll
>
> Crap! Iknew I forgot something.  I'll get that fixed tonight. You should only be missing the libsndfile and openal dll's though. I statically linked to everything else.  Apparently MinGW doesn't like to do static links to these libraries?  Maybe I'll rebuild it with VC instead.


Digging a bit, it looks like this happens in the CMake stuff. Basically, in normal SFML, the CMake file doesn't allow you to statically link to the std libs if you're building a .dll. I felt like with D we don't care as much about that, so I disabled the check. As far as I can tell it should work fine when built with VC(it forces /MT), but nothing special happens with MinGW so it still links dynamically to everything. I think I can fix it to work automatically, but for now I'll instead simply redo the packages to include those files. Thanks for catching that.