This does not appear to be a duplicate of 13641. I've tried the solution provided there and it does not work for me.
I am using Visual D in VS2015 on Windows 10. Happy to provide logs and cmd files at request.
Here the simple output:
------ Build started: Project: Library, Configuration: Debug Win32 ------
Building Debug\Library.dll...
Converting debug information...
C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.pdb: cannot create PDB file
Building Debug\Library.dll failed!
Details saved as "file://C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.buildlog.html"
------ Build started: Project: Server, Configuration: Debug Win32 ------
Building Debug\Server.exe...
Converting debug information...
C:\Users\Derik\Projects\TagIO\Projects\Server\Debug\Server.pdb: cannot create PDB file
Building Debug\Server.exe failed!
Details saved as "file://C:\Users\Derik\Projects\TagIO\Projects\Server\Debug\Server.buildlog.html"
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
I'll check on the possibility of the 14164 resolution, and download the latest and re-check the issue there.
Comment #3 by derik — 2015-08-06T15:26:36Z
Issue 14164 appears completely unrelated to this. This issue is blocking successful compilation.
If there a log that might reveal an underlying error message for which this may be a generic mask?
Comment #4 by r.sagitario — 2015-08-07T12:19:32Z
Posting C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.buildlog.html here might help. I suspect it might have to do with bad PATH settings.
If you switch to mago as the debug engine used for debugging, no conversion to PDB will be necessary. It's actually the default now with the latest version of Visual D.
Comment #5 by r.sagitario — 2015-08-08T13:25:21Z
> Issue 14164 appears completely unrelated to this.
Sorry, mistyped here. I meant issue 14614.
Comment #6 by derik — 2015-08-13T21:58:28Z
Sorry for the delay. I've tried this with the latest version (0.3.42 from a4db8f4) and got the same results.
------ Rebuild All started: Project: Library, Configuration: Debug Win32 ------
Building Debug\Library.dll...
Converting debug information...
C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.pdb: cannot create PDB file
Building Debug\Library.dll failed!
Details saved as "file://C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.buildlog.html"
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
The build log reveals...
Command Line
set PATH=C:\D\dmd2\windows\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\\Common7\IDE;C:\Program Files (x86)\Windows Kits\8.1\\bin;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;%PATH%
dmd -g -debug -X -Xf"Debug\Library.json" -deps="Debug\Library.dep" -c -of"Debug\Library.obj" dll.def dllmain.d Objects.d TagIO.d
if errorlevel 1 goto reportError
set LIB="C:\D\dmd2\windows\bin\..\lib"
echo. > C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.build.lnkarg
echo "Debug\Library.obj","Debug\Library.dll_cv","Debug\Library.map",user32.lib+ >> C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.build.lnkarg
echo kernel32.lib,dll.def/MAP:FULL/CO/NOI/DELEXE >> C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.build.lnkarg
"C:\Program Files (x86)\VisualD\pipedmd.exe" -deps Debug\Library.lnkdep C:\D\dmd2\windows\bin\link.exe @C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.build.lnkarg
if errorlevel 1 goto reportError
if not exist "Debug\Library.dll_cv" (echo "Debug\Library.dll_cv" not created! && goto reportError)
echo Converting debug information...
"C:\Program Files (x86)\VisualD\cv2pdb\cv2pdb.exe" "Debug\Library.dll_cv" "Debug\Library.dll"
if errorlevel 1 goto reportError
if not exist "Debug\Library.dll" (echo "Debug\Library.dll" not created! && goto reportError)
goto noError
:reportError
echo Building Debug\Library.dll failed!
Output
onverting debug information...
C:\Users\Derik\Projects\TagIO\Projects\Library\Debug\Library.pdb: cannot create PDB file
Building Debug\Library.dll failed!
Comment #7 by r.sagitario — 2015-08-15T08:37:57Z
Thanks for posting the log.
It seems a path to $(VSINSTALLDIR)\VC\bin needs to be added to the "Executable Paths" for DMD/Win32 builds to start the MS PDB server executable mspdbsrv.exe. Once it is running, it works without the additional path.