Closed Trass3r closed 9 years ago
Ok now I got it, the ini needs to be:
-VCINSTALLDIR=\Program Files (x86)\Microsoft Visual Studio 10.0\VC\
+VCINSTALLDIR=...\VisualStudio\VC\
PATH=%PATH%;%VCINSTALLDIR%\bin\amd64
-WindowsSdkDir=\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
+WindowsSdkDir=C:\Program Files (x86)\Windows Kits\8.1\
@CyberShadow any thoughts on how to improve the Win64 situation? :)
Yes, I've put down some thoughts in a source code comment, here: https://github.com/CyberShadow/ae/blob/fb500ee56bad91be297fc01eea25c2978340ac74/sys/d/builder.d#L101-L103
We can do either or both of the following:
I've already made some advances in the second option in a different project.
Download and unpack just the VC++ Express components we need
Digger now does this. Can you give it a try?
I just tried it with digger 1.0. I get
digger: Installing Visual Studio 2013 (vcRuntimeMinimum_x86, vc_compilercore86,
vc_compilercore86res, vc_librarycore86, vc_libraryDesktop_x64, win_xpsupport) to
dl\vs2013...
Fatal error: 0: The system cannot find the file specified.
It seems to have downloaded a wrapper only, wdexpress_full.exe is just 1MB.
Digger uses WinINet to download stuff. Are your Internet Explorer settings OK?
If yes, could you please build from source with debug symbols and get a stack trace?
It seems to have downloaded a wrapper only, wdexpress_full.exe is just 1MB.
This is as expected, BTW. It downloads the web installer, then uses the information contained in it to obtain only the necessary components. It would be nuts to download the entire 1.5GB ISO.
If yes, could you please build from source with debug symbols and get a stack trace?
When I build digger myself it works (both git HEAD and 2.066). [What's missing from the readme: I had to create an OMF version of wininet.lib (the other libs seem not to be used)].
After removing the dl folder, running the distributed executable again reproduces the error.
Anything else I should try to find the issue?
It would be nuts to download the entire 1.5GB ISO.
Actually, I implemented something similar in Visual D to download the missing msobj*.dll when only using VS Shell. I didn't enabled it because I could never convince myself that it is not the same as just distributing the files directly. Even if freely distributed, it might at least require the user to accept the respective MS EULA.
Looks like yet another -inline
codegen bug... :(
[What's missing from the readme: I had to create an OMF version of wininet.lib (the other libs seem not to be used)]
Thanks for letting me know, I'll fix that.
https://issues.dlang.org/show_bug.cgi?id=13503
Reuploaded build without -inline
.
Looks like yet another -inline codegen bug... :(
Ouch. Thanks for "fixing".
After lots of trial and error I can now build druntime and phobos at least.
But then it still fails.
All those hardcoded paths are a real pita.