Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: DSFML broken  (Read 4636 times)

0 Members and 1 Guest are viewing this topic.

RobotGymnast

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
DSFML broken
« on: January 30, 2011, 05:14:18 pm »
DSFML fails to compile using dmd v2.051. This means the SVN code and the version on the download page.

I've fixed code so that at least dsfml-window builds; diff uploaded at http://pastebin.com/djtz4P9g.

The main issues had to do with string literals not being equivalent to
Code: [Select]
char[] but rather
Code: [Select]
immutable char[] Also,

Code: [Select]
this inside a member function is a reference, not a pointer.

CyberShadow

  • Newbie
  • *
  • Posts: 1
    • View Profile
DSFML broken
« Reply #1 on: January 30, 2011, 05:27:42 pm »
In the top level of the working directory, type:
svn diff > patch.diff

RobotGymnast

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
DSFML broken
« Reply #2 on: January 30, 2011, 05:35:07 pm »
Quote from: "CyberShadow"
In the top level of the working directory, type:
svn diff > patch.diff


Euch I since discovered that TortoiseSVN doesn't appear to wrap the SVN executables, so I can't use typical SVN binaries separately from Tortoise. Figured out how to do it through the GUI, though, and put the diff on pastebin. Thanks!

Trass3r

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
DSFML broken
« Reply #3 on: January 30, 2011, 06:03:05 pm »
That's because DSFML1 on the download page is targeted at D1 (and quite outdated).
Only use the svn version and SFML2.

RobotGymnast

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
DSFML broken
« Reply #4 on: January 30, 2011, 06:22:40 pm »
Quote from: "Trass3r"
That's because DSFML1 on the download page is targeted at D1 (and quite outdated).
Only use the svn version and SFML2.


Where can that be found? It's not immediately apparent to me while browsing the repository.

Edit: Nevermind, found it under branches. Thanks

 

anything