buggins / dlangide

D language IDE based on DlangUI
Boost Software License 1.0
454 stars 57 forks source link

linking failed , Windows 7 ,32bit #414

Open hutucha opened 5 years ago

hutucha commented 5 years ago

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 commented 5 years ago

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

ProkopHapala commented 5 years ago

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

hutucha commented 5 years ago

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

Yes, it seems. I feel the same way.

Siemargl commented 4 years ago

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

hutucha commented 4 years ago

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

Siemargl commented 4 years ago

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

hutucha commented 4 years ago

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

Siemargl commented 4 years ago

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.

hutucha commented 4 years ago

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