Closed Enkouyami closed 5 years ago
Here's what happened when I tried to run example1 from git using dub -v run dlangui:example1
Using dub registry url 'https://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\enkou\AppData\Local\dub\packages\local-packages.json
Determined package version using GIT: dlangui 0.9.182+commit.4.gedb42f50
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\enkou\AppData\Local\dub\packages\local-packages.json
Found dependency derelict-sdl2 3.0.0-beta.8
Found dependency derelict-util 3.0.0-beta.2
Found dependency derelict-gl3 2.0.0-beta.8
Found dependency derelict-ft 2.0.0-beta.5
Found dependency x11 1.0.21
Found dependency dsfml 2.1.1
Found dependency dsfml:audio 2.1.1
Found dependency dsfml:system 2.1.1
Found dependency dsfml:network 2.1.1
Found dependency dsfml:window 2.1.1
Found dependency dsfml:graphics 2.1.1
Building package dlangui:example1 in C:\Users\enkou\Documents\Coding & Technical\Programs & Scripts\dlangui\examples\example1\
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\enkou\AppData\Local\dub\packages\local-packages.json
Found dependency dlangui 0.9.182+commit.4.gedb42f50
Found dependency derelict-sdl2 3.0.0-beta.8
Found dependency derelict-util 3.0.0-beta.2
Found dependency derelict-gl3 2.0.0-beta.8
Found dependency derelict-ft 2.0.0-beta.5
Found dependency x11 1.0.21
Found dependency dsfml 2.1.1
Found dependency dsfml:audio 2.1.1
Found dependency dsfml:system 2.1.1
Found dependency dsfml:network 2.1.1
Found dependency dsfml:window 2.1.1
Found dependency dsfml:graphics 2.1.1
Refreshing local packages (refresh existing: false)...
Looking for local package map at C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at C:\Users\enkou\AppData\Local\dub\packages\local-packages.json
Found dependency dlangui 0.9.182+commit.4.gedb42f50
Found dependency derelict-sdl2 3.0.0-beta.8
Found dependency derelict-util 3.0.0-beta.2
Found dependency derelict-gl3 2.0.0-beta.8
Found dependency derelict-ft 2.0.0-beta.5
Found dependency x11 1.0.21
Found dependency dsfml 2.1.1
Found dependency dsfml:audio 2.1.1
Found dependency dsfml:system 2.1.1
Found dependency dsfml:network 2.1.1
Found dependency dsfml:window 2.1.1
Found dependency dsfml:graphics 2.1.1
Generating using build
Configuring dependent dlangui:example1, deps:"dlangui"
Configuring dependent dlangui, deps:"derelict-ft", "derelict-gl3", "derelict-sdl2"
Configuring dependent derelict-ft, deps:"derelict-util"
Configuring dependent derelict-util, deps:
Configuring dependent derelict-gl3, deps:"derelict-util"
Configuring dependent derelict-sdl2, deps:"derelict-util"
Performing "debug" build using dmd for x86.
derelict-util 3.0.0-beta.2: target for configuration "library" is up to date.
Using existing build in C:\Users\enkou\AppData\Local\dub\packages\derelict-util-3.0.0-beta.2\derelict-util\.dub\build\library-debug-windows-x86-dmd_2068-1B308B9F20ABA2F60ED57FE31EB08EC2\.
Copying target from C:\Users\enkou\AppData\Local\dub\packages\derelict-util-3.0.0-beta.2\derelict-util\.dub\build\library-debug-windows-x86-dmd_2068-1B308B9F20ABA2F60ED57FE31EB08EC2\DerelictUtil.lib to C:\Users\enkou\AppData\Local\dub\packages\derelict-util-3.0.0-beta.2\derelict-util\lib
derelict-ft 2.0.0-beta.5: target for configuration "library" is up to date.
Using existing build in C:\Users\enkou\AppData\Local\dub\packages\derelict-ft-2.0.0-beta.5\derelict-ft\.dub\build\library-debug-windows-x86-dmd_2068-D380AB3B66B0A19AC0CA361290288CD5\.
Copying target from C:\Users\enkou\AppData\Local\dub\packages\derelict-ft-2.0.0-beta.5\derelict-ft\.dub\build\library-debug-windows-x86-dmd_2068-D380AB3B66B0A19AC0CA361290288CD5\DerelictFT.lib to C:\Users\enkou\AppData\Local\dub\packages\derelict-ft-2.0.0-beta.5\derelict-ft\lib
derelict-gl3 2.0.0-beta.8: target for configuration "library" is up to date.
Using existing build in C:\Users\enkou\AppData\Local\dub\packages\derelict-gl3-2.0.0-beta.8\derelict-gl3\.dub\build\library-debug-windows-x86-dmd_2068-BC064BD44915E7F7BB56450B411C7C3E\.
Copying target from C:\Users\enkou\AppData\Local\dub\packages\derelict-gl3-2.0.0-beta.8\derelict-gl3\.dub\build\library-debug-windows-x86-dmd_2068-BC064BD44915E7F7BB56450B411C7C3E\DerelictGL3.lib to C:\Users\enkou\AppData\Local\dub\packages\derelict-gl3-2.0.0-beta.8\derelict-gl3\lib
Target 'C:\Users\enkou\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\.dub\build\derelict-sdl2-dynamic-debug-windows-x86-dmd_2068-74640934B1FAD0F35D241F4D96C85007\DerelictSDL2.lib' doesn't exist, need rebuild.
derelict-sdl2 3.0.0-beta.8: building configuration "derelict-sdl2-dynamic"...
dmd -lib -of..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\.dub\build\derelict-sdl2-dynamic-debug-windows-x86-dmd_2068-74640934B1FAD0F35D241F4D96C85007\DerelictSDL2.lib -debug -g -w -version=USE_OPENGL -version=EmbedStandardResources -version=Unicode -version=ForceLogs -version=Have_derelict_sdl2 -version=Have_derelict_util -I..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source -I..\..\..\..\AppData\Local\dub\packages\derelict-util-3.0.0-beta.2\derelict-util\source ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\config.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\gpu.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\image.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\gpu_dynamic.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\gpu_dynload.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\gpu_types.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\sdl_dynamic.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\sdl_dynload.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\internal\sdl_types.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\mixer.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\net.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\sdl.d ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\source\derelict\sdl2\ttf.d -vcolumns
Error: Error writing file '..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\.dub\build\derelict-sdl2-dynamic-debug-windows-x86-dmd_2068-74640934B1FAD0F35D241F4D96C85007\DerelictSDL2.lib'
FAIL ..\..\..\..\AppData\Local\dub\packages\derelict-sdl2-3.0.0-beta.8\derelict-sdl2\.dub\build\derelict-sdl2-dynamic-debug-windows-x86-dmd_2068-74640934B1FAD0F35D241F4D96C85007\ DerelictSDL2 staticLibrary
dmd failed with exit code 1.
My discalcula got the best of me; my path had dynamic-debug-windows-x86-dmd_2068 instead of dmd version 2086. I fixed that and it runs fine.
If only there was something that would check for problems like that.
Every time I try to run/build an app using dlangui, there's always an error writing the DerelictSDL2.lib.
I'm on Windows 10 v1803 with DUB v1.11.0 and DMD v2.068.1.
Based on this comment from a DerelictOrg team member, it "does not appear to be an issue with DerelictSDL2".