www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD 2.072.1 MSVC build seems to be failing

reply Lewis <musicaljelly gmail.com> writes:
I like to build DMD with MSVC because it complies a little faster 
than the shipped executable. I downloaded and installed a fresh 
copy of DMD 2.072.1, opened dmd2/dmd/vcbuild/dmd.sln, and tried 
to build. I got several compilation errors related to missing 
files, in particular:

1>c1xx : fatal error C1083: Cannot open source file: '..\glue.c': 
No such file or directory
1>c1xx : fatal error C1083: Cannot open source file: '..\msc.c': 
No such file or directory
1>c1xx : fatal error C1083: Cannot open source file: '..\toir.c': 
No such file or directory

I tried fiddling a bit with removing these files from the 
project, and I could get the first stage of the build to pass, 
but then I ran into linker errors later on. I don't know enough 
about how this project is set up, so I figured I'd just ask.

Any ideas what's going on? Did the VS project simply not get 
updated for the new release, or am I missing something in my 
build procedure? I can build my old installation of 2.071.0 
without issue.

Thanks!
Dec 06 2016
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 12/6/2016 6:15 PM, Lewis wrote:
 I like to build DMD with MSVC because it complies a little faster than the
 shipped executable. I downloaded and installed a fresh copy of DMD 2.072.1,
 opened dmd2/dmd/vcbuild/dmd.sln, and tried to build. I got several compilation
 errors related to missing files, in particular:

 1>c1xx : fatal error C1083: Cannot open source file: '..\glue.c': No such file
 or directory
 1>c1xx : fatal error C1083: Cannot open source file: '..\msc.c': No such file
or
 directory
 1>c1xx : fatal error C1083: Cannot open source file: '..\toir.c': No such file
 or directory

 I tried fiddling a bit with removing these files from the project, and I could
 get the first stage of the build to pass, but then I ran into linker errors
 later on. I don't know enough about how this project is set up, so I figured
I'd
 just ask.

 Any ideas what's going on? Did the VS project simply not get updated for the
new
 release, or am I missing something in my build procedure? I can build my old
 installation of 2.071.0 without issue.
Those files were converted to glue.d, etc., but obviously the VS build was not updated. Please file a bugzilla issue for it.
Dec 06 2016
parent reply Lewis <musicaljelly gmail.com> writes:
On Wednesday, 7 December 2016 at 02:49:14 UTC, Walter Bright 
wrote:
 Those files were converted to glue.d, etc., but obviously the 
 VS build was not updated. Please file a bugzilla issue for it.
Done, thanks! https://issues.dlang.org/show_bug.cgi?id=16954
Dec 06 2016
parent Walter Bright <newshound2 digitalmars.com> writes:
On 12/6/2016 7:38 PM, Lewis wrote:
 On Wednesday, 7 December 2016 at 02:49:14 UTC, Walter Bright wrote:
 Those files were converted to glue.d, etc., but obviously the VS build was not
 updated. Please file a bugzilla issue for it.
Done, thanks! https://issues.dlang.org/show_bug.cgi?id=16954
Good! Next, you can also file a PR to fix it! Should be pretty simple.
Dec 06 2016