On Tuesday, 5 May 2020 at 12:53:29 UTC, Basile B. wrote:

On Win10 64Bit, after compiling as described in https://basile.b.gitlab.io/dexed/build.html, I have a "dexed.exe" but if I run it, I get "couldn't find dexed-d.dll" ...

Can you give a try again after pulling latest changes ?

Actually the library indicated as missing was build by calling bash which obviously could not work on Windows. I have pushed a change that replaces this by a direct call to dub since the script was essentially used to "cd" and that's not required as dub has "--root"

Thanks for your changes.

Seems like linking take a bit longer now but the DLL is still not build. Another change => calling "dexed.exe" doesn't shop the error popup as it did before...

```powershell

C:\Temp\Git\dexed\dexed-d [master ≡]

λ  dub.exe --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
iz ~master: building configuration "library"...
stdx-allocator 2.77.5: building configuration "library"...
libdparse ~master: building configuration "library"...
dexed-d ~master: building configuration "library"...
Linking...
Target is a library. Skipping execution.

​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  ls


    Directory: C:\Temp\Git\dexed\dexed-d


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       05.05.2020     21:57                .dub
d-----       03.05.2020     14:40                src
-a----       03.05.2020     14:40            307 dub.json
-a---- 05.05.2020 21:48 144 dub.selections.json


​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  ls .\src\


    Directory: C:\Temp\Git\dexed\dexed-d\src


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       03.05.2020     14:40           9863 common.d
-a----       03.05.2020     14:40            897 ddemangle.d
-a----       03.05.2020     14:40           6436 ddoc_template.d
-a----       03.05.2020     14:40          27235 halstead.d
-a----       03.05.2020     14:40           4321 imports.d
-a----       03.05.2020     14:40           1663 mainfun.d
-a----       03.05.2020     14:40          12663 symlist.d
-a----       03.05.2020     14:40           3397 todos.d


​C:\Temp\Git\dexed\dexed-d [master ≡]

λ  cd ..
​C:\Temp\Git\dexed [master ≡]

λ  fd --glob *.dll

​C:\Temp\Git\dexed [master ≡]
```

Reply via email to