dlangide icon indicating copy to clipboard operation
dlangide copied to clipboard

linking failed , Windows 7 ,32bit

Open hutucha opened this issue 5 years ago • 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?

hutucha avatar Sep 11 '19 07:09 hutucha

Has anyone successfully completed dLangide 0.8.17? Why don't people submit a binary version of dlangide 0.8.17 for win7/win10?

hutucha avatar Sep 18 '19 08:09 hutucha

Hi, seems to me that this project is somewhat dead?

ProkopHapala avatar Oct 08 '19 14:10 ProkopHapala

Hi, seems to me that this project is somewhat dead?

Yes, it seems. I feel the same way.

hutucha avatar Oct 12 '19 08:10 hutucha

Just go in C:\ProgramData\dub\packages\dlangui-0.9.182\dlangui\src\win_app.def and comment out ;EXETYPE NT ;SUBSYSTEM WINDOWS

Siemargl avatar Aug 22 '20 09:08 Siemargl

@Siemargl The way you said doesn't work. I used dmd2.088/2.090 to compile directly. I didn't use dub package alone;

hutucha avatar Oct 20 '20 09:10 hutucha

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 avatar Oct 20 '20 12:10 Siemargl

@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.

hutucha avatar Oct 21 '20 02:10 hutucha

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.

Siemargl avatar Oct 21 '20 06:10 Siemargl

@Siemargl I copied this file "msvcrt120.lib", the program can run, thank you. I wonder if you can rewrite this project into an IDE like Delphi, That would be perfect !!

hutucha avatar Oct 21 '20 07:10 hutucha