buggins/dlangide

Project template "DlangUI hellow world app" does not compile under ubuntu 18.04

ProkopHapala opened this issue · 1 comments

I freshly installed dmd and ldc environments under ubuntu 18.04, and everything seems to work fine. I cloned this git ad compiled dlangide without any problems with both dmd and ldc.

Now I tried to make projects in dlangide. Fitst I run source ~/dlang/dmd-2.088.0/activate to adtivate dmd environment, and than run dlangide. I can create and compile Hello world app without any problems. But when I try DlangUI: hellow world app I allways get following error

app.d(3): Error: module dlangui is in file 'dlangui.d' which cannot be read
import path[0] = .
import path[1] = /home/prokop/dlang/dmd-2.088.0/linux/bin64/../../src/phobos
import path[2] = /home/prokop/dlang/dmd-2.088.0/linux/bin64/../../src/druntime/import
Failed: ["/home/prokop/dlang/dmd-2.088.0/linux/bin64/dmd", "-debug", "-v", "-o-", "app.d", "-I."]

Since I'm completely new to D-lang I cannot figure out what is the problems. It seems that dub already automatically installed all dependencies including dlangui-0.9.182 when I compiled dlangide the first time. I even see it is included in the project. So I don't see whey dlangide cannot find dlangui (if I understand what the error says)

OK, the problem is different:

  1. "Build > Build Project" ... works fine ( i.e. no errors)
  2. "Debug > Start Debugging" ... works fine ( i.e. display an application window )
  3. "Debug > Start Without Debugging" ... works fine ( i.e. display an application window )
  4. the only thing which does not work is "Build > Run with rdmd" (this display the message above)