Thread overview
[Issue 19773] can't compile on window 7 x64
Mar 29, 2019
wangxiaopeng
Mar 29, 2019
zoujiaqing
Mar 29, 2019
kinke@gmx.net
Apr 14, 2019
Seb
Jan 05, 2020
berni44
Dec 17, 2022
Iain Buclaw
March 29, 2019
https://issues.dlang.org/show_bug.cgi?id=19773

wangxiaopeng <wangxiaopeng@putao.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wangxiaopeng@putao.com

--
March 29, 2019
https://issues.dlang.org/show_bug.cgi?id=19773

zoujiaqing <zoujiaqing@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zoujiaqing@gmail.com

--- Comment #1 from zoujiaqing <zoujiaqing@gmail.com> ---
D:\HuntDemo>git clone git@github.com:huntlabs/hunt-skeleton.git myproject
D:\HuntDemo>cd myproject
D:\HuntDemo\myproject>dub run -v -a=x86_64
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\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\local-packages.json
Determined package version using GIT: hunt-skeleton 1.0.1+commit.9.g25a6c48
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\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\local-packages.json
  Found dependency hunt-framework 2.1.0-rc.2
    Found dependency hunt-stomp 0.2.0
      Found dependency hunt 1.2.0-rc.4
      Found dependency hunt-security 0.2.0
    Found dependency hunt-validation 0.1.1
    Found dependency hunt-http 0.2.1
      Found dependency hunt-net 0.2.1
    Found dependency hunt-cache 0.4.0
      Found dependency dredis 0.0.9
      Found dependency libmemcached 1.1.1
      Found dependency rocksdb 0.0.7
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\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\local-packages.json
  Found dependency hunt-framework 2.1.0-rc.2
    Found dependency hunt-stomp 0.2.0
      Found dependency hunt 1.2.0-rc.4
      Found dependency hunt-security 0.2.0
    Found dependency hunt-validation 0.1.1
    Found dependency hunt-http 0.2.1
      Found dependency hunt-net 0.2.1
    Found dependency hunt-cache 0.4.0
      Found dependency dredis 0.0.9
      Found dependency libmemcached 1.1.1
      Found dependency rocksdb 0.0.7
Generating using build
Configuring dependent hunt-skeleton, deps:"hunt-framework"
  Configuring dependent hunt-framework, deps:"hunt-cache", "hunt-http",
"hunt-stomp", "hunt-validation"
    Configuring dependent hunt-cache, deps:"dredis", "hunt"
      Configuring dependent dredis, deps:
      Configuring dependent hunt, deps:
    Configuring dependent hunt-http, deps:"hunt-net"
      Configuring dependent hunt-net, deps:"hunt"
    Configuring dependent hunt-stomp, deps:"hunt", "hunt-security"
      Configuring dependent hunt-security, deps:"hunt"
    Configuring dependent hunt-validation, deps:"hunt"
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64.
dredis 0.0.9: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\dredis-0.0.9\dredis\.dub\build\library-d
ebug-windows-x86_64-dmd_2085-C42ED0C02B087150F302DDE07D657FB6\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\dredis-0.0.9\dredis\.dub\build\library-debug
-windows-x86_64-dmd_2085-C42ED0C02B087150F302DDE07D657FB6\dredis.lib to
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\p
ackages\dredis-0.0.9\dredis
hunt 1.2.0-rc.4: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-1.2.0-rc.4\hunt\.dub\build\library-
debug-windows-x86_64-dmd_2085-A8CC8C5C4B19F251EC8DB47E97E811A7\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-1.2.0-rc.4\hunt\.dub\build\library-debu
g-windows-x86_64-dmd_2085-A8CC8C5C4B19F251EC8DB47E97E811A7\hunt.lib to
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\pa
ckages\hunt-1.2.0-rc.4\hunt
hunt-cache 0.4.0: target for configuration "default" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-cache-0.4.0\hunt-cache\.dub\build\d
efault-debug-windows-x86_64-dmd_2085-6BC03288B348E62871012E3333BE5D15\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-cache-0.4.0\hunt-cache\.dub\build\defau
lt-debug-windows-x86_64-dmd_2085-6BC03288B348E62871012E3333BE5D15\hunt-cache.lib
to C:\Users\Administrator.PC-20170228FCGK\AppData
\Local\dub\packages\hunt-cache-0.4.0\hunt-cache
hunt-net 0.2.1: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-net-0.2.1\hunt-net\.dub\build\libra
ry-debug-windows-x86_64-dmd_2085-01196B9D4EDD97EE2643DE846A7FC890\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-net-0.2.1\hunt-net\.dub\build\library-d
ebug-windows-x86_64-dmd_2085-01196B9D4EDD97EE2643DE846A7FC890\hunt-net.lib to
C:\Users\Administrator.PC-20170228FCGK\AppData\Local
\dub\packages\hunt-net-0.2.1\hunt-net
hunt-http 0.2.1: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-http-0.2.1\hunt-http\.dub\build\lib
rary-debug-windows-x86_64-dmd_2085-9F150E311DB00CD41CE8B0F9E0643231\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-http-0.2.1\hunt-http\.dub\build\library
-debug-windows-x86_64-dmd_2085-9F150E311DB00CD41CE8B0F9E0643231\hunt-http.lib
to C:\Users\Administrator.PC-20170228FCGK\AppData\Lo
cal\dub\packages\hunt-http-0.2.1\hunt-http
hunt-security 0.2.0: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-security-0.2.0\hunt-security\.dub\b
uild\library-debug-windows-x86_64-dmd_2085-9BF14D5D504625B2A2F99A1E4BA9D572\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-security-0.2.0\hunt-security\.dub\build
\library-debug-windows-x86_64-dmd_2085-9BF14D5D504625B2A2F99A1E4BA9D572\hunt-security.lib
to C:\Users\Administrator.PC-20170228FCG
K\AppData\Local\dub\packages\hunt-security-0.2.0\hunt-security
hunt-stomp 0.2.0: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-stomp-0.2.0\hunt-stomp\.dub\build\l
ibrary-debug-windows-x86_64-dmd_2085-338BD4552DF55C5F697545AE337E5519\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-stomp-0.2.0\hunt-stomp\.dub\build\libra
ry-debug-windows-x86_64-dmd_2085-338BD4552DF55C5F697545AE337E5519\hunt-stomp.lib
to C:\Users\Administrator.PC-20170228FCGK\AppData
\Local\dub\packages\hunt-stomp-0.2.0\hunt-stomp
hunt-validation 0.1.1: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-validation-0.1.1\hunt-validation\.d
ub\build\library-debug-windows-x86_64-dmd_2085-874BDC4B61F576BD9B3B7CF00987308F\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-validation-0.1.1\hunt-validation\.dub\b
uild\library-debug-windows-x86_64-dmd_2085-874BDC4B61F576BD9B3B7CF00987308F\hunt-validation.lib
to C:\Users\Administrator.PC-20170
228FCGK\AppData\Local\dub\packages\hunt-validation-0.1.1\hunt-validation
hunt-framework 2.1.0-rc.2: target for configuration "library" is up to date.
Using existing build in
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-framework-2.1.0-rc.2\hunt-framework
\.dub\build\library-debug-windows-x86_64-dmd_2085-74C28CC0B1170CBFEE43316CD7B8B9F3\.
Copying target from
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-framework-2.1.0-rc.2\hunt-framework\.du
b\build\library-debug-windows-x86_64-dmd_2085-74C28CC0B1170CBFEE43316CD7B8B9F3\hunt-framework.lib
to C:\Users\Administrator.PC-201
70228FCGK\AppData\Local\dub\packages\hunt-framework-2.1.0-rc.2\hunt-framework
Target
'D:\HuntDemo\myproject\.dub\build\application-debug-windows-x86_64-dmd_2085-AFC16449FB6C6E227BBE8188AAA81E5A\hunt-skeleton.
exe' doesn't exist, need rebuild.
hunt-skeleton 1.0.1+commit.9.g25a6c48: building configuration "application"...
C:\D\dmd2\windows\bin\dmd.exe -m64 -c
-of.dub\build\application-debug-windows-x86_64-dmd_2085-AFC16449FB6C6E227BBE8188AAA81E5A\hun
t-skeleton.obj -debug -g -w -version=Have_hunt_skeleton
-version=Have_hunt_framework -version=Have_hunt_cache -version=Have_hunt_h
ttp -version=Have_hunt_stomp -version=Have_hunt_validation
-version=SUPPORT_REDIS -version=Have_dredis -version=Have_hunt -version
=HAVE_IOCP -version=Have_hunt_net -version=Have_hunt_security -Isource
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\
packages\hunt-framework-2.1.0-rc.2\hunt-framework\source
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-
cache-0.4.0\hunt-cache\source
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\dredis-0.0.9\dredis\source
-IC:\
Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-1.2.0-rc.4\hunt\source
-IC:\Users\Administrator.PC-20170228FCG
K\AppData\Local\dub\packages\hunt-http-0.2.1\hunt-http\source
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\
hunt-net-0.2.1\hunt-net\source
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-stomp-0.2.0\hunt-stomp\sou
rce
-IC:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-security-0.2.0\hunt-security\source
-IC:\Users\Admini
strator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-validation-0.1.1\hunt-validation\source
source\app\controller\IndexControl
ler.d source\main.d -vcolumns
Linking...
C:\D\dmd2\windows\bin\dmd.exe
-of.dub\build\application-debug-windows-x86_64-dmd_2085-AFC16449FB6C6E227BBE8188AAA81E5A\hunt-skelet
on.exe
.dub\build\application-debug-windows-x86_64-dmd_2085-AFC16449FB6C6E227BBE8188AAA81E5A\hunt-skeleton.obj
C:\Users\Administra
tor.PC-20170228FCGK\AppData\Local\dub\packages\hunt-framework-2.1.0-rc.2\hunt-framework\.dub\build\library-debug-windows-x86_64-dm
d_2085-74C28CC0B1170CBFEE43316CD7B8B9F3\hunt-framework.lib
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-
cache-0.4.0\hunt-cache\.dub\build\default-debug-windows-x86_64-dmd_2085-6BC03288B348E62871012E3333BE5D15\hunt-cache.lib
C:\Users\A
dministrator.PC-20170228FCGK\AppData\Local\dub\packages\dredis-0.0.9\dredis\.dub\build\library-debug-windows-x86_64-dmd_2085-C42ED
0C02B087150F302DDE07D657FB6\dredis.lib
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-http-0.2.1\hunt-http
\.dub\build\library-debug-windows-x86_64-dmd_2085-9F150E311DB00CD41CE8B0F9E0643231\hunt-http.lib
C:\Users\Administrator.PC-2017022
8FCGK\AppData\Local\dub\packages\hunt-net-0.2.1\hunt-net\.dub\build\library-debug-windows-x86_64-dmd_2085-01196B9D4EDD97EE2643DE84
6A7FC890\hunt-net.lib
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-stomp-0.2.0\hunt-stomp\.dub\build\lib
rary-debug-windows-x86_64-dmd_2085-338BD4552DF55C5F697545AE337E5519\hunt-stomp.lib
C:\Users\Administrator.PC-20170228FCGK\AppData\
Local\dub\packages\hunt-security-0.2.0\hunt-security\.dub\build\library-debug-windows-x86_64-dmd_2085-9BF14D5D504625B2A2F99A1E4BA9
D572\hunt-security.lib
C:\Users\Administrator.PC-20170228FCGK\AppData\Local\dub\packages\hunt-validation-0.1.1\hunt-validation\.du
b\build\library-debug-windows-x86_64-dmd_2085-874BDC4B61F576BD9B3B7CF00987308F\hunt-validation.lib
C:\Users\Administrator.PC-20170
228FCGK\AppData\Local\dub\packages\hunt-1.2.0-rc.4\hunt\.dub\build\library-debug-windows-x86_64-dmd_2085-A8CC8C5C4B19F251EC8DB47E9
7E811A7\hunt.lib -m64 -g
lld-link.exe: error: undefined symbol: snprintf
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace16formatStackFrameFPvZAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace16formatStackFrameFPvPaZAa)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace16formatStackFrameFPvPaxPakZAa
)
>>> referenced by phobos64.lib(stacktrace_1be8_3e5.obj):(_D4core3sys7windows10stacktrace10StackTrace16formatStackFrameFPvPaxPakZAa
)


lld-link.exe: error: undefined symbol: snprintf
>>> referenced by phobos64.lib(demangle_c96_79b.obj):(fakePureReprintReal)


lld-link.exe: error: undefined symbol: snprintf
>>> referenced by C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d:2614
>>>               hunt-framework.lib(format_26a8_1122.obj):(_D3std6format__T15formatValueImplTSQBh5array__T8AppenderTAyaZQoTdTaZQC
aFKQBndKxSQDaQCz__T10FormatSpecTaZQpZ9__lambda7MFNbNiNeZi)


lld-link.exe: error: undefined symbol: snprintf
>>> referenced by phobos64.lib(format_7c1_139a.obj):(_D3std6format__T15formatValueImplTSQBh5array__T8AppenderTAyaZQoTxdTaZQCbFKQBo
xdKxSQDcQDb__T10FormatSpecTaZQpZ9__lambda7MFNbNiNeZi)


lld-link.exe: error: undefined symbol: snprintf
>>> referenced by C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d:2614
>>>               hunt-framework.lib(format_2798_10bd.obj):(_D3std6format__T15formatValueImplTSQBh5array__T8AppenderTAyaZQoTfTaZQC
aFKQBnfKxSQDaQCz__T10FormatSpecTaZQpZ9__lambda7MFNbNiNeZi)


lld-link.exe: error: undefined symbol: snprintf
>>> referenced by phobos64.lib(parseoptions_e2c_21b.obj):(_D4core8internal12parseoptions5parseFNbNiAxaKANgaKfQkZb)


lld-link.exe: error: undefined symbol: sscanf
>>> referenced by phobos64.lib(parseoptions_e2c_21b.obj):(_D4core8internal12parseoptions5parseFNbNiAxaKANgaKfQkZb)

Error: linker exited with status 1
FAIL
.dub\build\application-debug-windows-x86_64-dmd_2085-AFC16449FB6C6E227BBE8188AAA81E5A\
hunt-skeleton executable
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

--
March 29, 2019
https://issues.dlang.org/show_bug.cgi?id=19773

kinke@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke@gmx.net

--- Comment #2 from kinke@gmx.net ---
So the relevant bit is that the MinGW libs shipping with DMD are apparently missing 2 symbols, snprintf and sscanf. As a workaround for now, linking should work after installing Visual Studio (you may have to reinstall DMD afterwards to detect it).

--
April 14, 2019
https://issues.dlang.org/show_bug.cgi?id=19773

Seb <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #3 from Seb <greeenify@gmail.com> ---
This might be fixed by https://github.com/dlang/installer/pull/346 and https://github.com/dlang/installer/pull/377.

--
January 05, 2020
https://issues.dlang.org/show_bug.cgi?id=19773

berni44 <bugzilla@d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@d-ecke.de
          Component|phobos                      |installer
           Severity|enhancement                 |normal

--- Comment #4 from berni44 <bugzilla@d-ecke.de> ---
Is this meanwhile fixed?

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19773

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--