Dragonfly Q&A

On my Mac SFML RenderWindow not Showing

0 like 0 dislike
It seems to be running but no window is created. I tried running my code on a linux machine, then it worked.
asked Sep 13, 2016 in Other by linh

2 Answers

1 like 0 dislike
So I check my test code. Turn out that for a Mac machine, if you dont poll for events for the sfml window, the window will not show.
answered Sep 13, 2016 by linh
0 like 0 dislike
Try a simple SFML test on your Mac outside of DF. e.g, does Listing 4.68 work?  If that doesn't work, there is something wrong with your SFML setup, most likely.  What, I don't know - do you get error codes/messages from the failed SFML calls?
answered Sep 13, 2016 by claypool
More information about Dragonfly can be found on the Dragonfly Home Page.