Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread Palmic
Replying to myself: In my case at lease, I don't think it's a bug... I have just used the build tool binary that comes with the DWinProgramming samples, added a new folder with my source in the Samples directory, and the tool managed to build it properly... I will now look at the souces of

Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread Erik van Velzen
It works if you recompile phobos64.lib So it seems the standard DMD 2.064.2 download comes with an outdated version of phobos64.lib which is out of sync with the included source code.

Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread Erik van Velzen
@Palmic the DWinProgramming samples use the overload Runtime.initialize(ExceptionHandler) Which gives a warning that it is deprecated and you should use this overload instead: Runtime.initialize() But this is not compiled in phobos64.lib, while it is included in the source code. So the

Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread FreeSlave
On Sunday, 5 January 2014 at 19:05:58 UTC, Erik van Velzen wrote: @Palmic the DWinProgramming samples use the overload Runtime.initialize(ExceptionHandler) Which gives a warning that it is deprecated and you should use this overload instead: Runtime.initialize() But this is not compiled in

Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread Erik van Velzen
Filed under installer https://d.puremagic.com/issues/show_bug.cgi?id=11871 You could add the linux thing as a comment if you're sure it's the same issue.

Re: VC linker - unresolved external symbols - runtime

2014-01-05 Thread FreeSlave
On Sunday, 5 January 2014 at 19:30:46 UTC, Erik van Velzen wrote: Filed under installer https://d.puremagic.com/issues/show_bug.cgi?id=11871 You could add the linux thing as a comment if you're sure it's the same issue. Well, I'm not sure this is same. I explored something new to me and

Re: VC linker - unresolved external symbols - runtime

2013-11-09 Thread evilrat
On Saturday, 9 November 2013 at 15:30:55 UTC, deed wrote: core.runtime's import path is specified in the sc.ini file, in DFLAGS If I specify the core.runtime file in the build file everything works Why is it so? in short - it looks like phobos.lib not linked, try link it manually. i don't

Re: VC linker - unresolved external symbols - runtime

2013-11-09 Thread deed
On Saturday, 9 November 2013 at 16:08:15 UTC, evilrat wrote: On Saturday, 9 November 2013 at 15:59:02 UTC, deed wrote: No, it doesn't work. Do I have to compile my own runtime library and pass it on the command line? (Have just grabbed the 3.064.2.zip file and not run any installer.) The

Re: VC linker - unresolved external symbols - runtime

2013-11-09 Thread evilrat
On Saturday, 9 November 2013 at 16:22:07 UTC, deed wrote: phobos64.lib contains _D4core7runtime7Runtime10initializeFDFC6object9ThrowableZvZb but not _D4core7runtime7Runtime10initializeFZb Does this mean that the phobos64.lib is not aligned with current core.runtime module? i also have this