[Issue 14873] Build fails with message 'cannot create PDB file'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Aug 13 14:58:28 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14873

--- Comment #6 from Derik Palacino <derik at palacino.net> ---
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!

--


More information about the Digitalmars-d-bugs mailing list