digitalmars.D.learn - Ldc on Windows
- Dgame (16/16) Apr 17 2018 I'm trying to use Ldc on Windows, but I get these linker errors:
- Dgame (3/19) Apr 17 2018 Ah, I found the msvcEnv.bat and I told me that I have to VSC
- Nicholas Wilson (3/5) Apr 17 2018 You should also be able to use -link-internally /LLMV's lld if
- Dgame (2/7) Apr 17 2018 What would be "/LLMV's lld" in this case?
- Nicholas Wilson (6/15) Apr 17 2018 Sorry that was meant to be -link-internally / LLMV's lld (i.e.
- kinke (3/5) Apr 17 2018 Nope, the MSVC libs are still required, and no, the ancient ones
I'm trying to use Ldc on Windows, but I get these linker errors: ---- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 9: Unknown Option : OUT OPTLINK : Warning 9: Unknown Option : LIBPATH OPTLINK : Warning 9: Unknown Option : D OPTLINK : Warning 9: Unknown Option : LDC OPTLINK : Warning 9: Unknown Option : .. OPTLINK : Warning 9: Unknown Option : LIB :REF.obj Error 2: File Not Found :REF.obj Error: D:\D\dmd2\windows\bin\link.exe failed with status: 1 ---- How can I solve this?
Apr 17 2018
On Tuesday, 17 April 2018 at 09:42:01 UTC, Dgame wrote:I'm trying to use Ldc on Windows, but I get these linker errors: ---- OPTLINK (R) for Win32 Release 8.00.17 Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 9: Unknown Option : OUT OPTLINK : Warning 9: Unknown Option : LIBPATH OPTLINK : Warning 9: Unknown Option : D OPTLINK : Warning 9: Unknown Option : LDC OPTLINK : Warning 9: Unknown Option : .. OPTLINK : Warning 9: Unknown Option : LIB :REF.obj Error 2: File Not Found :REF.obj Error: D:\D\dmd2\windows\bin\link.exe failed with status: 1 ---- How can I solve this?Ah, I found the msvcEnv.bat and I told me that I have to VSC installation. Solved!
Apr 17 2018
On Tuesday, 17 April 2018 at 10:17:56 UTC, Dgame wrote:Ah, I found the msvcEnv.bat and I told me that I have to VSC installation. Solved!You should also be able to use -link-internally /LLMV's lld if you don't want to install MSVC
Apr 17 2018
On Tuesday, 17 April 2018 at 11:01:21 UTC, Nicholas Wilson wrote:On Tuesday, 17 April 2018 at 10:17:56 UTC, Dgame wrote:What would be "/LLMV's lld" in this case?Ah, I found the msvcEnv.bat and I told me that I have to VSC installation. Solved!You should also be able to use -link-internally /LLMV's lld if you don't want to install MSVC
Apr 17 2018
On Tuesday, 17 April 2018 at 12:42:48 UTC, Dgame wrote:On Tuesday, 17 April 2018 at 11:01:21 UTC, Nicholas Wilson wrote:Sorry that was meant to be -link-internally / LLMV's lld (i.e. not a command line option. I forgot windows uses / for that. I mean lld-link.exe or link-lld.exe (can't remember which) that comes with the dmd install (and I think ldc install? or maybe you just use -link-internally).On Tuesday, 17 April 2018 at 10:17:56 UTC, Dgame wrote:What would be "/LLMV's lld" in this case?Ah, I found the msvcEnv.bat and I told me that I have to VSC installation. Solved!You should also be able to use -link-internally /LLMV's lld if you don't want to install MSVC
Apr 17 2018
On Tuesday, 17 April 2018 at 11:01:21 UTC, Nicholas Wilson wrote:You should also be able to use -link-internally /LLMV's lld if you don't want to install MSVCNope, the MSVC libs are still required, and no, the ancient ones shipping with DMD can't be used.
Apr 17 2018