On Mon, Jan 21, 2019 at 04:02:23PM -0500, Steven Schveighoffer via 
Digitalmars-d-learn wrote:
> On 1/21/19 3:37 PM, Jerry wrote:
> > Hello, I am trying to compile a 1 year old project of mine which
> > uses htmld and vibed. But I get this weird linker error which does
> > not make any sense to me atleast. I am using Windows 7 and dub.
[...]
> > my_stuff.obj : error LNK2019: unresolved external symbol
> > _D60TypeInfo_xS4html3dom__T15ChildrenForwar
> > dTCQBfQBd4NodeVnnZQBi6__initZ referenced in function
> > _D8typecons__T11ThrowOnNullTS4html3dom__T15Chil
> > drenForwardTCQBfQBd4NodeVnnZQBiZQCn9__xtoHashFNbNeKxSQDu__TQDoTQDeZQDwZm
> > ..dub\build\updater-local-debug-windows-x86_64-dmd_2083-F0ADCB72FF986B7D6354817AF1E3A045\my_stuff.exe
> > 
> >   : fatal error LNK1120: 1 unresolved externals
> > Error: linker exited with status 1120
> > dmd failed with exit code 1.
[...]

Looks like a problem with stale cached object files.  Try:

        rm dub.selections.json
        dub build --force

(Be sure to back up dub.selections.json before doing this, if you have
customized it by hand.)


T

-- 
Music critic: "That's an imitation fugue!"

Reply via email to