64-bit compilation in Wine

2020-12-29 Thread Raikia via Digitalmars-d-learn
Hey all, I'm trying to get DMD to compile in x64 under Wine but I'm having issues with: "LLVM ERROR: Could not acquire a cryptographic context: Unknown error (0x80090017) Stack dump: 0. Program arguments: C:\D\dmd2\windows\bin\lld-link.exe /NOLOGO test.obj /DEFAULTLIB:phobos64 /OPT:NOI

Re: 64-bit compilation in Wine

2020-12-29 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 17:49:19 UTC, Raikia wrote: "LLVM ERROR: Could not acquire a cryptographic context: Unknown error (0x80090017) I sometimes get this too, it seems to be a bug in wine. I actually kept an old version of wine around where it works, and a new version side by side..

Re: 64-bit compilation in Wine

2020-12-29 Thread Raikia via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 18:09:55 UTC, Adam D. Ruppe wrote: On Tuesday, 29 December 2020 at 17:49:19 UTC, Raikia wrote: "LLVM ERROR: Could not acquire a cryptographic context: Unknown error (0x80090017) I sometimes get this too, it seems to be a bug in wine. I actually kept an old vers

Re: 64-bit compilation in Wine

2020-12-29 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 19:39:14 UTC, Raikia wrote: So interestingly, I actually got this to work by running "sudo wine" instead of just "wine". No idea why wine needs root access on the underlying system for wine to operate properly but ok... weird. i should try that too later. Now

Re: 64-bit compilation in Wine

2020-12-29 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Dec 29, 2020 at 07:39:14PM +, Raikia via Digitalmars-d-learn wrote: [...] > So interestingly, I actually got this to work by running "sudo wine" > instead of just "wine". No idea why wine needs root access on the > underlying system for wine to operate properly but ok... > > Now I'm r

Re: 64-bit compilation in Wine

2020-12-29 Thread Raikia via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 20:29:15 UTC, H. S. Teoh wrote: On Tue, Dec 29, 2020 at 07:39:14PM +, Raikia via Digitalmars-d-learn wrote: [...] So interestingly, I actually got this to work by running "sudo wine" instead of just "wine". No idea why wine needs root access on the underlyin

Re: 64-bit compilation in Wine

2020-12-30 Thread kinke via Digitalmars-d-learn
On Tuesday, 29 December 2020 at 21:13:59 UTC, Raikia wrote: That certainly helped, but when running the program on a fresh Windows install, I still get the error "The program can't start because vcruntime140.dll is missing from your computer". In my (limited) experience, I think its because it