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

DREPL: "dub run" errors #82

Open
AntonOks opened this issue Jun 11, 2020 · 2 comments
Open

DREPL: "dub run" errors #82

AntonOks opened this issue Jun 11, 2020 · 2 comments

Comments

@AntonOks
Copy link

see below...

C:\Temp\Dub> dub fetch drepl
Fetching drepl 0.2.1...
Please note that you need to use `dub run <pkgname>` or add it to dependencies of your package to actually use/run it. dub does not do actual installation of packages outside of its own ecosystem.
C:\Temp\Dub> dub run drepl
Building package drepl in C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\
Performing "debug" build using dmd for x86_64.
colorize 1.0.5: target for configuration "library" is up to date.
stdx-allocator 2.77.2: target for configuration "library" is up to date.
libdparse 0.8.7: target for configuration "library" is up to date.
drepl 0.2.1: building configuration "console"...
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(146,26): Error: template object.dup cannot deduce function from argument types !()(int), candidates are:
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(2328,6):        dup(T : V[K], K, V)(T aa)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(2366,6):        dup(T : V[K], K, V)(T* aa)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(3016,16):        dup(T)(T[] a)
  with T = char
  must satisfy the following constraint:
       !is(const(T) : T)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(3042,15):        dup(T)(const(T)[] a)
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(147,26): Error: template object.dup cannot deduce function from argument types !()(int), candidates are:
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(2328,6):        dup(T : V[K], K, V)(T aa)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(2366,6):        dup(T : V[K], K, V)(T* aa)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(3016,16):        dup(T)(T[] a)
C:\Users\me\scoop\apps\dmd\current\windows\bin\..\..\src\druntime\import\object.d(3042,15):        dup(T)(const(T)[] a)
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(148,22): Error: undefined identifier open, did you mean function fopen?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(149,22): Error: undefined identifier open, did you mean function fopen?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(150,9): Error: undefined identifier dup2, did you mean template dup(T : V[K], K, V)(T aa)?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(151,9): Error: undefined identifier dup2, did you mean template dup(T : V[K], K, V)(T aa)?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(165,9): Error: undefined identifier close, did you mean function fclose?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(166,9): Error: undefined identifier close, did you mean function fclose?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(167,9): Error: undefined identifier dup2, did you mean template dup(T : V[K], K, V)(T aa)?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(168,9): Error: undefined identifier dup2, did you mean template dup(T : V[K], K, V)(T aa)?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(169,9): Error: undefined identifier close, did you mean function fclose?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(170,9): Error: undefined identifier close, did you mean function fclose?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(217,24): Error: undefined identifier dlerror, did you mean function ferror?
C:\Users\me\AppData\Local\dub\packages\drepl-0.2.1\drepl\src\drepl\engines\dmd.d(220,16): Error: undefined identifier dlsym
dmd failed with exit code 1.
C:\Temp\Dub>

C:\Temp\Dub> dmd --version
DMD32 D Compiler v2.092.0-dirty
Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved written by Walter Bright
C:\Temp\Dub> dub --version
DUB version 1.21.0, built on May 11 2020
C:\Temp\Dub>
@Imperatorn
Copy link

Also have this issue

@ljmf00
Copy link
Contributor

ljmf00 commented Oct 3, 2020

I don't think drepl supports Windows at the moment.

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

3 participants