Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ProkopHapala opened this issue Sep 4, 2019 · 1 comment

Comments

@ProkopHapala
Copy link

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)

@ProkopHapala
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant