Visual D Building problems

Rufus Smith via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Tue Jul 19 16:25:46 PDT 2016


On Tuesday, 19 July 2016 at 23:15:29 UTC, Rufus Smith wrote:
> May I suggest you create a Virtual Machine and attempt to 
> compile Visual D from scratch using latest technologies. I 
> believe it will not work well. It is hard to support the 
> software when it doesn't work well. I find a lot of hard coded 
> paths in Visual D's batch files. I would like to help support 
> but impossible if I can't get it to build.
>
> The error messages are convoluted and not helpful either. It 
> might benefit you to do this as it will help bring in others. 
> Also keeping up with latest technologies is good.

I had to hard code the sdk paths and change hard coded COFFIMPLIB 
line


I still get errors like


------ Rebuild All started: Project: vsi, Configuration: Debug 
Win32 ------
Building ..\bin\Debug\vsi.lib...
vsi\vsshell140.d(768): Error: no identifier for declarator 
PROXYSTUB_BUILD
win32\winbase.d(820): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
win32\winbase.d(829): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
win32\winbase.d(917): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
win32\winbase.d(926): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
win32\winerror.d(27128): Error: function declaration without 
return type. (Note that constructors are always named 'this')
win32\winerror.d(27128): Error: no identifier for declarator 
_Translates_Win32_to_HRESULT_(x)
win32\winerror.d(27128): Error: semicolon expected following 
function declaration
win32\processthreadsapi.d(785): Error: function declaration 
without return type. (Note that constructors are always named 
'this')
win32\processthreadsapi.d(785): Error: found 'PULONG' when 
expecting ')'
win32\processthreadsapi.d(785): Error: semicolon expected 
following function declaration
win32\processthreadsapi.d(785): Error: no identifier for 
declarator ReturnedLength
win32\processthreadsapi.d(785): Error: declaration expected, not 
','
win32\processthreadsapi.d(796): Error: function declaration 
without return type. (Note that constructors are always named 
'this')
win32\processthreadsapi.d(796): Error: found 'PULONG' when 
expecting ')'
win32\processthreadsapi.d(796): Error: semicolon expected 
following function declaration
win32\processthreadsapi.d(797): Error: no identifier for 
declarator RequiredIdCount
Building ..\bin\Debug\vsi.lib failed!
Details saved as 
"file://C:\Projects\Misc\visuald-master\sdk\..\bin\Debug\vsi\vsi.buildlog.html"
Build time: 0 s
------ Rebuild All started: Project: parser, Configuration: Debug 
Win32 ------
Building ..\bin\Debug\parser.lib...
..\sdk\win32\winbase.d(820): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(829): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(917): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(926): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\processthreadsapi.d(785): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(785): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(785): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(785): Error: no identifier for 
declarator ReturnedLength
..\sdk\win32\processthreadsapi.d(785): Error: declaration 
expected, not ','
..\sdk\win32\processthreadsapi.d(796): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(796): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(796): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(797): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(797): Error: declaration 
expected, not ')'
..\sdk\win32\processthreadsapi.d(813): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(813): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(813): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(814): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(814): Error: declaration 
expected, not ')'
Building ..\bin\Debug\parser.lib failed!
Details saved as 
"file://C:\Projects\Misc\visuald-master\vdc\..\bin\Debug\parser\parser.buildlog.html"
Build time: 1 s
------ Rebuild All started: Project: stdext, Configuration: Debug 
Win32 ------
Building ..\bin\Debug\stdext.lib...
..\sdk\win32\winbase.d(820): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(829): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(917): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(926): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\processthreadsapi.d(785): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(785): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(785): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(785): Error: no identifier for 
declarator ReturnedLength
..\sdk\win32\processthreadsapi.d(785): Error: declaration 
expected, not ','
..\sdk\win32\processthreadsapi.d(796): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(796): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(796): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(797): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(797): Error: declaration 
expected, not ')'
..\sdk\win32\processthreadsapi.d(813): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(813): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(813): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(814): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(814): Error: declaration 
expected, not ')'
Building ..\bin\Debug\stdext.lib failed!
Details saved as 
"file://C:\Projects\Misc\visuald-master\stdext\..\bin\Debug\obj\stdext.buildlog.html"
Build time: 0 s
------ Rebuild All started: Project: c2d, Configuration: Debug 
Win32 ------
Building ..\bin\Debug\Win32\c2d.lib...
Build time: 1 s
------ Rebuild All started: Project: VisualD, Configuration: 
Debug Win32 ------
Building ..\bin\Debug\VisualD.dll...
Microsoft (R) Visual Studio (R) Command Table Compiler Version 
14.0.25407.0

VSCT: errors   = 0
VSCT: warnings = 0
Microsoft (R) Windows (R) Resource Compiler Version 
10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


..\sdk\win32\winbase.d(820): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(829): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(917): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\winbase.d(926): Error: no identifier for declarator 
DECLSPEC_ALLOCATOR
..\sdk\win32\processthreadsapi.d(785): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(785): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(785): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(785): Error: no identifier for 
declarator ReturnedLength
..\sdk\win32\processthreadsapi.d(785): Error: declaration 
expected, not ','
..\sdk\win32\processthreadsapi.d(796): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(796): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(796): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(797): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(797): Error: declaration 
expected, not ')'
..\sdk\win32\processthreadsapi.d(813): Error: function 
declaration without return type. (Note that constructors are 
always named 'this')
..\sdk\win32\processthreadsapi.d(813): Error: found 'PULONG' when 
expecting ')'
..\sdk\win32\processthreadsapi.d(813): Error: semicolon expected 
following function declaration
..\sdk\win32\processthreadsapi.d(814): Error: no identifier for 
declarator RequiredIdCount
..\sdk\win32\processthreadsapi.d(814): Error: declaration 
expected, not ')'


More information about the Digitalmars-d-ide mailing list