Cannot link using DMD nightly

Matt Elkins via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Feb 28 11:02:21 PST 2016


I'm attempting to use the DMD nightly build (because this fix 
matters a lot to my project: 
https://issues.dlang.org/show_bug.cgi?id=15661), but the build 
fails at the link step. Here is my full output:

[output]
"C:\Program Files (x86)\dub\dub.exe" run --force --build debug 
--build-mode separate
Performing "debug" build using dmd for x86.
cake ~master: building configuration "library"...
derelict-util 2.0.4: building configuration "library"...
derelict-ft 1.0.2: building configuration "library"...
derelict-gl3 1.0.18: building configuration "library"...
derelict-glfw3 1.1.1: building configuration "library"...
gl3n 1.3.1: building configuration "library"...
cakegl ~master: building configuration "library"...
common ~master: building configuration "library"...
client ~master: building configuration "application"...
Linking...
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
..\cakegl\out\cakegl.lib(utf)
  Error 163: Cannot CVPACK Type 0002
--- errorlevel 1
dmd failed with exit code 1.
[/output]

"cakegl" is one of my libraries used by the application.

I have manually removed every trace of any object file or library 
I could find which was compiled with my previous install of DMD 
(including the third-party ones pulled by dub, such as derelict), 
and am also building with the --force flag; I should note that I 
am using dub for my builds rather than dmd directly.

If I swap back in the released version of DMD it all builds fine. 
This is on 64-bit Windows 7, using the 32-bit DMD nightly build 
downloaded today, Feb 28th.

Any suggestions?


More information about the Digitalmars-d-learn mailing list