www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DSFML reaches version 2.1

reply Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
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
Oct 06 2015
next sibling parent Andrea Fontana <nospam example.com> writes:
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!
Oct 07 2015
prev sibling next sibling parent Dmitry <dmitry indiedev.ru> writes:
Thank you!
Oct 07 2015
prev sibling next sibling parent Erika Quinn <onetruequinn hotmail.com> writes:
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)
Oct 07 2015
prev sibling next sibling parent reply suliman <Evermind live.ru> writes:
Perfect!!! Big thanks! I think not only one are tired from GTK, 
and need simple and compact gui lib
Oct 07 2015
parent reply Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
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.
Oct 07 2015
parent Israel <tl12000 live.com> writes:
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
Oct 07 2015
prev sibling parent reply Israel <tl12000 live.com> writes:
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
Oct 07 2015
parent reply Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
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.
Oct 07 2015
parent Jeremy DeHaan <dehaan.jeremiah gmail.com> writes:
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.
Oct 07 2015