SFML community forums
Bindings - other languages => D => Topic started by: malkierian on November 18, 2013, 05:46:26 am
-
OK, so I understand the reasoning behind wanting people to build on their own systems, but sometimes...
Anyway, so I can't actually get DSFML-C to compile because CMakeGUI won't find or let me choose entire MinGW installations. I can assign gcc and g++, but then it starts looking for other things in the default folder instead of where those two programs are found. How do I go about building this so I can build DSFML and start using it?
-
What OS are you trying to compile it for?
I have gotten it working on Windows, I'm currently in the process of figuring it out on Linux(though I know others that have gotten it working), and I recently helped someone get it going on OSX.
Unfortunately, I don't get a lot of feedback from people that use the binding so it's difficult for me to make sure the building information is up to date. :-\
-
Windows 7 64-bit, but I have MinGW installed on my D drive instead of C, which is probably where it's looking by default. Its there some way to configure the makelist/makefile manually so that it looks in the right spot for everything instead of just those two?
-
Its there some way to configure the makelist/makefile manually so that it looks in the right spot for everything instead of just those two?
There is, and that's how I usually do it actually.
I'm at work right now, but I can do a entry in the DSFML wiki later today for ya.
Edit: Alternatively, I could just have the dll's and import libraries readily available for download.
-
Well, either way. I just want to get working, ya know? LOL.
-
My apologies. I've been pretty busy!
Here's a link to the latest build: https://dl.dropboxusercontent.com/u/2911088/DSFML-Bin.zip
Also, make sure your MinGW\bin directory is included in your PATH. Could explain why CMake didn't find it.
-
Oh, it was. It has been for months.
And thanks :D.
-
Also, I remember that it's built on 2.0, right? Will any dev environment work with these libs?
By the way, is there an IRC channel you hang out in? Is there an #sfml channel somewhere?
-
I guess he hangs out here (http://en.sfml-dev.org/forums/index.php?topic=2997.0) sometimes ;D
-
I guess he hangs out here (http://en.sfml-dev.org/forums/index.php?topic=2997.0) sometimes ;D
You guess? :P
zsbzsb is right, I do hang out in the irc. I mostly idle, but I'm usually around.
And as long as you have your favorite D IDE set up with the correct compiler switches, you shouldn't have any problems.
I tend to use Mono-D (http://mono-d.alexanderbothe.com/), a plug in for MonoDevelop/Xamarin Studio, but I know that Visual D (http://rainers.github.io/visuald/visuald/StartPage.html), a plug in for Visual Studio, is quite popular on Windows.