www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Anybody know if I can build DMD with Visual Studio 2019?

reply WhatMeWorry <kheaser gmail.com> writes:
I'm trying to build DMD with Visual D under Visual Studio as 
shown in the Wiki:

https://wiki.dlang.org/Building_under_Windows

The notes say to use the solution vcbuild:

You should be able to build DMD using the visual studio solution 
found in: dmd\src\vcbuild A typical choice is to build the 64-bit 
debug version (the VisualD options are named 'Release' and 
'x64').  [Btw, Should that be "64-bit release version" or 
"'Debug' and 'x64'"?]

I do this with Visual Studio 2019 and I'm getting errors. Should 
I be using Visual Studio 2017 or even VS 2013?  Didn't want to 
waste time debugging if VS2019 is not supported.
Dec 01 2020
parent reply WhatMeWorry <kheaser gmail.com> writes:
On Tuesday, 1 December 2020 at 22:58:53 UTC, WhatMeWorry wrote:
 I'm trying to build DMD with Visual D under Visual Studio as 
 shown in the Wiki:

 https://wiki.dlang.org/Building_under_Windows

 The notes say to use the solution vcbuild:

 You should be able to build DMD using the visual studio 
 solution found in: dmd\src\vcbuild A typical choice is to build 
 the 64-bit debug version (the VisualD options are named 
 'Release' and 'x64').  [Btw, Should that be "64-bit release 
 version" or "'Debug' and 'x64'"?]

 I do this with Visual Studio 2019 and I'm getting errors. 
 Should I be using Visual Studio 2017 or even VS 2013?  Didn't 
 want to waste time debugging if VS2019 is not supported.
It works now. Not sure what I did to _not_ make it work yesterday.
Dec 02 2020
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Wednesday, 2 December 2020 at 22:37:06 UTC, WhatMeWorry wrote:
 On Tuesday, 1 December 2020 at 22:58:53 UTC, WhatMeWorry wrote:
 I'm trying to build DMD with Visual D under Visual Studio as 
 shown in the Wiki:

 https://wiki.dlang.org/Building_under_Windows

 The notes say to use the solution vcbuild:

 You should be able to build DMD using the visual studio 
 solution found in: dmd\src\vcbuild A typical choice is to 
 build the 64-bit debug version (the VisualD options are named 
 'Release' and 'x64').  [Btw, Should that be "64-bit release 
 version" or "'Debug' and 'x64'"?]

 I do this with Visual Studio 2019 and I'm getting errors. 
 Should I be using Visual Studio 2017 or even VS 2013?  Didn't 
 want to waste time debugging if VS2019 is not supported.
It works now. Not sure what I did to _not_ make it work yesterday.
That's easy. You made a post here about it and the universe got scared.
Dec 04 2020
parent Q. Schroll <qs.il.paperinik gmail.com> writes:
On Friday, 4 December 2020 at 09:32:29 UTC, Imperatorn wrote:
 On Wednesday, 2 December 2020 at 22:37:06 UTC, WhatMeWorry 
 wrote:
 It works now.  Not sure what I did to _not_ make it work 
 yesterday.
That's easy. You made a post here about it and the universe got scared.
This made my day.
Dec 04 2020