Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linking failed , Windows 7 ,32bit #414

Open
hutucha opened this issue Sep 11, 2019 · 9 comments
Open

linking failed , Windows 7 ,32bit #414

hutucha opened this issue Sep 11, 2019 · 9 comments

Comments

@hutucha
Copy link

hutucha commented Sep 11, 2019

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 hutucha changed the title DMD2.088 build DlangIDE 0.8.17 , linking failed ,in Win7 Complie DlangIDE 0.8.17 , linking failed ,in Win7 Sep 16, 2019
@hutucha
Copy link
Author

hutucha commented Sep 18, 2019

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 hutucha changed the title Complie DlangIDE 0.8.17 , linking failed ,in Win7 Complie DlangIDE 0.8.17 ,32bit, linking failed ,in Win7 Sep 23, 2019
@hutucha hutucha changed the title Complie DlangIDE 0.8.17 ,32bit, linking failed ,in Win7 DlangIDE 0.8.17 ,32bit, linking failed ,in Win7 Sep 23, 2019
@hutucha hutucha changed the title DlangIDE 0.8.17 ,32bit, linking failed ,in Win7 linking failed ,in Win7 ,32bit Sep 27, 2019
@hutucha hutucha changed the title linking failed ,in Win7 ,32bit link failed ,in Win7 ,32bit Sep 27, 2019
@hutucha hutucha changed the title link failed ,in Win7 ,32bit linking failed , Windows 7 ,32bit Sep 27, 2019
@ProkopHapala
Copy link

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

@hutucha
Copy link
Author

hutucha commented Oct 12, 2019

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

Yes, it seems. I feel the same way.

@Siemargl
Copy link

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

@hutucha
Copy link
Author

hutucha commented Oct 20, 2020

@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
Copy link

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
Copy link
Author

hutucha commented Oct 21, 2020

@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
Copy link

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
Copy link
Author

hutucha commented Oct 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants