Re: lld-link.exe: error: could not open msvcrt100.lib

2019-02-01 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 2 February 2019 at 06:50:10 UTC, greatsam4sure wrote: On Friday, 1 February 2019 at 14:00:15 UTC, Andre Pany wrote: On Friday, 1 February 2019 at 13:52:05 UTC, Andre Pany wrote: [...] Already solved in nightly :) Thanks!!! Already solved in nightly. What is the meaning of thi

Re: lld-link.exe: error: could not open msvcrt100.lib

2019-02-01 Thread greatsam4sure via Digitalmars-d-learn
On Friday, 1 February 2019 at 14:00:15 UTC, Andre Pany wrote: On Friday, 1 February 2019 at 13:52:05 UTC, Andre Pany wrote: Hi, lld-link was working fine on my windows pc. I set in global dub settings file architecture to X86_64. DMD was installed by extracting the zip archive. For python d

Re: crashing with no stack trace, why?

2019-02-01 Thread DanielG via Digitalmars-d-learn
On Friday, 1 February 2019 at 09:00:32 UTC, JN wrote: For Windows, you can try VisualD and VSCode with C++ debugger. I tried both of those but neither seemed to work out of the gate. I didn't take notes but my vague memory is that VisualD wasn't picking up some local dub dependecies and/or so

Re: lld-link.exe: error: could not open msvcrt100.lib

2019-02-01 Thread Andre Pany via Digitalmars-d-learn
On Friday, 1 February 2019 at 13:52:05 UTC, Andre Pany wrote: Hi, lld-link was working fine on my windows pc. I set in global dub settings file architecture to X86_64. DMD was installed by extracting the zip archive. For python development ): I had to install "Build Tools for Visual Studio

lld-link.exe: error: could not open msvcrt100.lib

2019-02-01 Thread Andre Pany via Digitalmars-d-learn
Hi, lld-link was working fine on my windows pc. I set in global dub settings file architecture to X86_64. DMD was installed by extracting the zip archive. For python development ): I had to install "Build Tools for Visual Studio 2017". Now dub (lld-link) fails always with error message: lld

Re: How can I express the type of a function in D?

2019-02-01 Thread Atila Neves via Digitalmars-d-learn
On Wednesday, 30 January 2019 at 05:14:20 UTC, Sobaya wrote: I want to get a mangled name of a D function by `core.demangle.mangle`, but I'm in trouble because there are no ways to express a type of a function, which is used for a template argument of `mangle`. There's a way: int add(int i,

Re: crashing with no stack trace, why?

2019-02-01 Thread JN via Digitalmars-d-learn
On Thursday, 31 January 2019 at 11:09:56 UTC, DanielG wrote: However it was simply crashing with an exit code (-1073740771 / ‭0xC41D‬), and I was having a heck of a time trying to debug on Windows. (Shoutout to the revamped WinDbg Preview, couldn't get anything else to work!) For Windows,

Re: Purpose of template DECLARE_HANDLE in druntime

2019-02-01 Thread Andre Pany via Digitalmars-d-learn
On Friday, 1 February 2019 at 07:35:34 UTC, Kagamin wrote: It's a strong typed handle, in C it's declared as #ifdef STRICT typedef void *HANDLE; #if 0 && (_MSC_VER > 1000) #define DECLARE_HANDLE(name) struct name##__; typedef struct name##__ *name #else #define DECLARE_HANDLE(name) struct name