Bug 18098 – Issues with path to VS2017 x64 linker in sc.ini [Environment64] AFTER pull 227

Status
NEW
Severity
normal
Priority
P3
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2017-12-17T20:14:17Z
Last change time
2025-01-02T15:46:47Z
Assigned to
No Owner
Creator
Peter Particle
Moved to GitHub: installer#660 →

Comments

Comment #0 by ParticlePeter — 2017-12-17T20:14:17Z
sc.ini [Environment64]: the installer detects VS 2017 (%VCINSTALLDIR%, L47) correctly but (L54) sets: LINKCMD=%VCINSTALLDIR%\bin\HostX86\x86\link.exe In my scenario (see bellow) this leads to following error: fatal error C1905: Front end and back end not compatible (must target same processor). LINK : fatal error LNK1257: code generation failed Error: linker exited with status 1257 dmd failed with exit code 1257. The error does not occur when sc.ini L54 is changed to: LINKCMD=%VCINSTALLDIR%\bin\HostX86\x64\link.exe or LINKCMD=%VCINSTALLDIR%\bin\HostX64\x64\link.exe I assume that the path variable set at L62 should be change correspondingly, but had no issues with it so far. My scenario is a mixed c++/s project. I am linking to a c++ static library which I build myself with VS2017 for x64 (https://github.com/ocornut/imgui). Related: Issue 17280 Issue 17320 https://github.com/dlang/installer/pull/227 https://forum.dlang.org/post/[email protected]
Comment #1 by robert.schadek — 2025-01-02T15:46:47Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/660 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB