<div dir="ltr">plain works too</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 6, 2018 at 7:15 PM WebFreak001 via Digitalmars-d-learn <<a href="mailto:digitalmars-d-learn@puremagic.com">digitalmars-d-learn@puremagic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday, 29 May 2018 at 07:47:07 UTC, Begah wrote:<br>
> I have recently reinstalled a fresh version of Windows 10. I <br>
> installed DMD 1.9.0 and compiled my code ( that was compiling <br>
> before reinstalling Windows ).<br>
> I get this error at the linking phase :<br>
> Native PDB Error: The entry already exists.  The specified <br>
> module already exists<br>
><br>
> I made a simplified project that gets the same error :<br>
><br>
> import imageformats;<br>
> import derelict.glfw3;<br>
><br>
> void main() {<br>
>     IFImage i0;<br>
> }<br>
><br>
> and dub.json :<br>
> "dependencies": {<br>
>       "derelict-glfw3": "4.0.0-beta.1",<br>
>       "imageformats": "~>7.0.0"<br>
> }<br>
><br>
> Compiling for 32-bit works.<br>
> Compiling for 64-bit gives that error : dub --arch=x86_64<br>
> Changing imageformats version to 5.2.0 compiles but any higher <br>
> doesn't.<br>
> I tried compiling the code with and without admin privileges <br>
> but it doesn't do anything.<br>
> I know that PDB is used for debugging but I don't understand <br>
> this error.<br>
> Any ideas?<br>
<br>
for others who come across this (because this is what you find if <br>
you google this error):<br>
<br>
I haven't found any solution or reason yet, but you can compile <br>
in release mode (--build=release for dub) to work around this <br>
issue<br>
</blockquote></div>