Skip to content
dchapman2146 edited this page Jan 23, 2016 · 2 revisions

DlangIDE installation

Installing from source code.

Supported platforms: Windows, Linux, OSX

Pre-requisites

  • DMD, GDC or LDC compiler
  • DUB package manager
  • GIT

Linux: libraries libsdl2, libfreetype, libfontconfig OSX: libsdl2, xQuartz

To enable debugging, install GDB debugger Under Windows, only programs built with GDC compiler can be debugged with GDB.

Source code download

Clone DlangIDE repository with GIT:

    git clone --recursive https://github.com/buggins/dlangide.git

Building

In dlangide directory, execute command:

    dub build

DlangIDE executable will be placed to dlangide/bin directory

Running

Run dlangide executable (dlangide.exe under Windows) or issue following command in dlangide directory:

   dub run

Possible problem with Hello World

If you are running OS X you may get a black screen after you run the Hello World example. This is because the xQuartz terminal defaults to full screen mode. xQuartz is the Apple version of X11. You can get your screen back by typing cmd-h to hide xQuartz. To prevent xQuartz from going into full screen mode open the xQuarts preferences by typing cmd-, (that is the command key and the comma key) then click the output tab and then un-check the full screen button.

Clone this wiki locally