What could this OptLink Error mean?

user1234 user1234 at 12.nl
Sat Dec 30 00:49:48 UTC 2017


On Friday, 29 December 2017 at 16:11:20 UTC, Dukc wrote:
> I was building one example of DLangUi (dub build 
> --build-mode=allAtOnce --build=debuglinker) and it did compile 
> but the linker started to complain. I did notice it seemed to 
> be related to the standard library, so I updated it and 
> DRuntime to the lastest master, rebuilt them and replaced 
> phobos.lib with the result. I also removed the binary and .dub 
> directory from DLangUI to force Dub to rebuild it, which it 
> did. Still the linker complains, but about a different symbol:
>
> ..\..\lib\dlangui.lib(colors)
>  Error 42: Symbol Undefined __d_switch_string
>
> Does anybody have an idea what could be causing this?

The deps have to be rebuild too. Assuming paths and everything is 
okay (should be the case when you build ~master as indicated in 
the wiki) just add --force.


More information about the Digitalmars-d-learn mailing list