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

Can't run even compile generated project #8

Open
Gargo opened this issue Jul 8, 2017 · 6 comments
Open

Can't run even compile generated project #8

Gargo opened this issue Jul 8, 2017 · 6 comments

Comments

@Gargo
Copy link

Gargo commented Jul 8, 2017

Building game...
Error(s) compiling project:
Error: module exception is in file 'C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\derelict-util-2.1.0\derelict-util\source\derelict\util\exception.d' which cannot be read
import path[0] = C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\derelict-util-2.1.0\derelict-util\source
import path[1] = E:\D\dmd2\windows\bin\..\..\src\phobos
import path[2] = E:\D\dmd2\windows\bin\..\..\src\druntime\import
dmd failed with exit code 1.
@brooklynlittell
Copy link

Could you verify the file C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\derelict-util-2.1.0\derelict-util\source\derelict\util\exception.d exists?

And try running dub upgrade to make sure the dependencies are loaded.

@Gargo
Copy link
Author

Gargo commented Jul 8, 2017

@BrandonLittell
dub is installed under windows via executable and there is no such command. Could it be the problem?

@brooklynlittell
Copy link

Ah, yeah, try adding dub.exe to your PATH

@Gargo
Copy link
Author

Gargo commented Jul 8, 2017

@BrandonLittell
could you explain how to do that?

@brooklynlittell
Copy link

In the start menu, search for "environment" and select "Edit the system environment variables." A System Properties dialog will open, select the "Environment Variables" button.

Find "Path" in "System Variables" and click edit, and add the location of your dub.exe. Restart your machine and dub should be all setup.

@Gargo
Copy link
Author

Gargo commented Jul 8, 2017

@BrandonLittell
No, still have the same issue. Maybe if it is because I didn't install dub in default location and choose it by myself?

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

2 participants