Thread overview | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 15, 2013 Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
There are some pending pull requests[1][2] to get automatic win64 configuration during installation working. I've prepared a dmd 2.064-beta installer which includes these unmerged changes which you can download here: http://gnuk.net/dmd-2.064-beta-new-sc.ini.exe It downloads a slightly modified dmd2beta.zip from http://gnuk.net/dmd2beta.zip (my own server) because the installer requires some changes to sc.ini that the latest beta zip has not included (see http://d.puremagic.com/issues/show_bug.cgi?id=11266 ). This installer also includes support for automatically downloading the Visual D installer and running it (another yet to be merged pull request[3]). What I need is help testing it. I only have the means to test on VC2010/SDK 7.0a at the moment. If you have any combination of VC2012 or VC2013 and Windows SDK 7.1, 8.0, or 8.1 it would help if you could try out this installer and test out building a simple 64-bit program (e.g., dmd -m64 helloworld.d) and reply here on whether or not it worked. Thanks. 1. https://github.com/D-Programming-Language/installer/pull/22 2. https://github.com/D-Programming-Language/dmd/pull/2667 3. https://github.com/D-Programming-Language/installer/pull/23 |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On Tuesday, 15 October 2013 at 02:17:39 UTC, Brad Anderson wrote: > > What I need is help testing it. I only have the means to test on VC2010/SDK 7.0a at the moment. If you have any combination of VC2012 or VC2013 and Windows SDK 7.1, 8.0, or 8.1 it would help if you could try out this installer and test out building a simple 64-bit program (e.g., dmd -m64 helloworld.d) and reply here on whether or not it worked. Thanks. VS2012/SDK 7.1 gives following C:\Users\Public\Documents\prog>dmd -m64 hello.d Can't run 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64\link .exe', check PATH my actual path to linker is C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64 , after renaming the folder it requires by some reason mspdb11.dll, even after that it fails to link with over 1k missing symbols. |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | oops, sorry forgot to mentions that manually linking kernel32.lib/shell32.lib/user32.lib finally links and works. hope it helps |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On Tuesday, 15 October 2013 at 02:17:39 UTC, Brad Anderson wrote: > There are some pending pull requests[1][2] to get automatic win64 configuration during installation working. I've prepared a dmd 2.064-beta installer which includes these unmerged changes which you can download here: > > http://gnuk.net/dmd-2.064-beta-new-sc.ini.exe > Updated version (removed old one to avoid confusion): http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | On Tuesday, 15 October 2013 at 04:20:06 UTC, evilrat wrote: > On Tuesday, 15 October 2013 at 02:17:39 UTC, Brad Anderson wrote: >> >> What I need is help testing it. I only have the means to test on VC2010/SDK 7.0a at the moment. If you have any combination of VC2012 or VC2013 and Windows SDK 7.1, 8.0, or 8.1 it would help if you could try out this installer and test out building a simple 64-bit program (e.g., dmd -m64 helloworld.d) and reply here on whether or not it worked. Thanks. > > > VS2012/SDK 7.1 gives following > > C:\Users\Public\Documents\prog>dmd -m64 hello.d > Can't run 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64\link > .exe', check PATH > This version should fix that. http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe > my actual path to linker is C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64 , after renaming the folder it requires by some reason mspdb11.dll, even after that it fails to link with over 1k missing symbols. I don't know what to make of mspdb11.dll. Anyone have any advice? |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | On Tuesday, 15 October 2013 at 04:23:38 UTC, evilrat wrote:
> oops, sorry forgot to mentions that manually linking kernel32.lib/shell32.lib/user32.lib finally links and works. hope it helps
Did you run the Visual Studio Command Prompt (2012) to do that?
|
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On Tuesday, 15 October 2013 at 04:42:27 UTC, Brad Anderson wrote: > This version should fix that. > http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe > ugh, no now it messed up lib and linker path in sc.ini, lib path was correct, only linker wrong, swap them. > > I don't know what to make of mspdb11.dll. Anyone have any advice? i guess this is due running it without visual studio command prompt, but this can be fixed either by running it or utility script at VC/bin/x86_amd64/vcvarsx86_amd64.bat from console before using dmd. |
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | On Tuesday, 15 October 2013 at 05:07:19 UTC, evilrat wrote:
> On Tuesday, 15 October 2013 at 04:42:27 UTC, Brad Anderson wrote:
>> This version should fix that.
>> http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe
>>
> ugh, no now it messed up lib and linker path in sc.ini, lib path was correct, only linker wrong, swap them.
>>
>> I don't know what to make of mspdb11.dll. Anyone have any advice?
>
> i guess this is due running it without visual studio command prompt, but this can be fixed either by running it or utility script at VC/bin/x86_amd64/vcvarsx86_amd64.bat from console before using dmd.
What's the path to mspdb11.dll?
|
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brad Anderson | On Tuesday, 15 October 2013 at 05:31:51 UTC, Brad Anderson wrote:
> On Tuesday, 15 October 2013 at 05:07:19 UTC, evilrat wrote:
>> On Tuesday, 15 October 2013 at 04:42:27 UTC, Brad Anderson wrote:
>>> This version should fix that.
>>> http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe
>>>
>> ugh, no now it messed up lib and linker path in sc.ini, lib path was correct, only linker wrong, swap them.
>>>
>>> I don't know what to make of mspdb11.dll. Anyone have any advice?
>>
>> i guess this is due running it without visual studio command prompt, but this can be fixed either by running it or utility script at VC/bin/x86_amd64/vcvarsx86_amd64.bat from console before using dmd.
>
> What's the path to mspdb11.dll?
Microsoft Visual Studio 11.0\Common7\IDE\mspdb110.dll
but don't add it manually, it should be added with VS prompt or that cvars script.
|
October 15, 2013 Re: Help needed testing automatic win64 configuration | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilrat | On Tuesday, 15 October 2013 at 05:48:07 UTC, evilrat wrote:
> On Tuesday, 15 October 2013 at 05:31:51 UTC, Brad Anderson wrote:
>> On Tuesday, 15 October 2013 at 05:07:19 UTC, evilrat wrote:
>>> On Tuesday, 15 October 2013 at 04:42:27 UTC, Brad Anderson wrote:
>>>> This version should fix that.
>>>> http://gnuk.net/dmd-2.064-beta-new-sc.ini-2.exe
>>>>
>>> ugh, no now it messed up lib and linker path in sc.ini, lib path was correct, only linker wrong, swap them.
>>>>
>>>> I don't know what to make of mspdb11.dll. Anyone have any advice?
>>>
>>> i guess this is due running it without visual studio command prompt, but this can be fixed either by running it or utility script at VC/bin/x86_amd64/vcvarsx86_amd64.bat from console before using dmd.
>>
>> What's the path to mspdb11.dll?
>
> Microsoft Visual Studio 11.0\Common7\IDE\mspdb110.dll
>
> but don't add it manually, it should be added with VS prompt or that cvars script.
I'm at a loss for how I would anyway. My only option might be to add execution of vcvars to the D2 Command Prompt shortcut I make. I'm going to sleep on this and think about it some more.
|
Copyright © 1999-2021 by the D Language Foundation