www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - unresolved external symbol error (How to resolve?)

reply WhatMeWorry <kheaser gmail.com> writes:
Linking...
01_06_coord_systems.obj : error LNK2001: unresolved external 
symbol _D11common_game12__ModuleInfoZ
01_06_coord_systems.obj : error LNK2001: unresolved external 
symbol _D14post_processor12__ModuleInfoZ


I've gotten plenty of undefined external symbol errors in my time 
but how does one approach a "unresolved" error. Does this mean I 
have more than 1 occurrence of the symbol and the linker is 
confused?

And what do the _ModuleInfoZs mean?

I've got a package called common_game which has a module named 
post_processor.d

Any suggestions?  Thanks.
Jul 22 2017
parent Adam D. Ruppe <destructionator gmail.com> writes:
On Saturday, 22 July 2017 at 18:04:41 UTC, WhatMeWorry wrote:
 And what do the _ModuleInfoZs mean?
You didn't compile in all your modules. Try adding each one to the dmd command line.
Jul 22 2017