Welcome, Guest. Please login or register.

Author Topic: Problems Compiling DSFML-C  (Read 1434 times)

0 Members and 1 Guest are viewing this topic.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Problems Compiling DSFML-C
« on: November 18, 2013, 04: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?

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Problems Compiling DSFML-C
« Reply #1 on: November 18, 2013, 07:22:13 am »
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.  :-\

DSFML - SFML for the D Programming Language.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Problems Compiling DSFML-C
« Reply #2 on: November 18, 2013, 05:52:12 pm »
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?

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Problems Compiling DSFML-C
« Reply #3 on: November 18, 2013, 06:10:31 pm »
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.
« Last Edit: November 18, 2013, 06:16:33 pm by Jebbs »
DSFML - SFML for the D Programming Language.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Problems Compiling DSFML-C
« Reply #4 on: November 18, 2013, 06:43:46 pm »
Well, either way.  I just want to get working, ya know?  LOL.

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Problems Compiling DSFML-C
« Reply #5 on: November 19, 2013, 08:04:54 am »
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.
DSFML - SFML for the D Programming Language.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Problems Compiling DSFML-C
« Reply #6 on: November 19, 2013, 03:18:11 pm »
Oh, it was.  It has been for months.

And thanks :D.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Problems Compiling DSFML-C
« Reply #7 on: November 20, 2013, 03:51:20 am »
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?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Problems Compiling DSFML-C
« Reply #8 on: November 20, 2013, 04:16:10 am »
I guess he hangs out here sometimes  ;D
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: Problems Compiling DSFML-C
« Reply #9 on: November 20, 2013, 07:55:42 am »
I guess he hangs out here 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, a plug in for MonoDevelop/Xamarin Studio, but I know that Visual D, a plug in for Visual Studio, is quite popular on Windows.
DSFML - SFML for the D Programming Language.