Beta D 2.069.0-b1

Szymon Gatner via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Oct 14 05:05:27 PDT 2015


On Wednesday, 14 October 2015 at 11:39:26 UTC, Szymon Gatner 
wrote:
> On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze 
> wrote:
>> [...]
>
> I am trying (as with every new release ;)) to link static D 
> library to existing C++ project and I am having same issue:
>
> Error	2	error LNK2019: unresolved external symbol _snprintf 
> referenced in function 
> _D2gc6config13__T5parseHTfZ5parseFNbNiAxaKAxaKfZb	C:\Users\Bravo\documents\visual studio 2012\Projects\ConsoleApplication1\ConsoleApplication1\phobos32mscoff.lib(config_48f_452.obj)	ConsoleApplication1
>
> _minfo_beg, _minfo_end problems were solved by adding main() to 
> D library so this is only porblem left. I am using Visual 
> Studio 2012

Update: Linking with static D library under Visual Studio 2015 
works fine (which is great). I do need to make it work under VS 
2012 tho. Ideas?


More information about the Digitalmars-d-announce mailing list