linking failed , Windows 7 ,32bit
hutucha opened this issue · 9 comments
I had complied DlangIDE0.8.17 32bit version in windows 7.
The steps were as follows:
1, download dlangide-Master.zip
2, go into "dlangide-Master" folder
3, using : dub run --build=release --arch=x86_mscoff dlangide
compling was successful, but linking error;
It was showing me these:
Linking...
lld-link: error: unknown directive: EXETYPE
Error: linker exited with status 1
H:\dlang\dmd2088\windows\bin\dmd.exe failed with exit code 1.
How to solve this problem?
Has anyone successfully completed dLangide 0.8.17?
Why don't people submit a binary version of dlangide 0.8.17 for win7/win10?
Hi, seems to me that this project is somewhat dead?
Hi, seems to me that this project is somewhat dead?
Yes, it seems. I feel the same way.
Just go in C:\ProgramData\dub\packages\dlangui-0.9.182\dlangui\src\win_app.def
and comment out
;EXETYPE NT
;SUBSYSTEM WINDOWS
@Siemargl The way you said doesn't work. I used dmd2.088/2.090 to compile directly. I didn't use dub package alone;
I use version dmd 2.092.1 without installed MS VS. So build with mingw toolchain and lld
Also you can download binaries from my (a little fixed) fork
@Siemargl I got your file ,but it still doesn't work . It indicates that I'm missing msvcr120.dll. There is a clear difference between your document requirements and the original version. The original version does not need this document.Thank you all the same.
Yes, I have msvsrt120.dll in dmd2\bin
and mscoff plaform use it - see dmd2\windows\lib32mscoff\mingw\msvcrt120.lib
I understand this, programs, built with dmd 2.092.1 may require Microsoft Visual C++ 2013 Runtime.