LINK : fatal error LNK1104: cannot open file '_CMDLINE' --- errorlevel 1104

Jason Jeffory via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 11 12:19:50 PST 2016


On Monday, 11 January 2016 at 20:17:23 UTC, Jason Jeffory wrote:
> Any ideas? Happens when I do a very simple dub project and try 
> to compile using the MS linker(x86 but set in sc.ini or 64). 
> I'm linking in glfw(using correct arch of course)
>
>
> {
> 	"name": "Test",
> 	"description": "A minimal D application.",
> 	"copyright": "Copyright © 2016, Jason",
> 	"authors": ["Jason"],
> 	"lflags" : ["+C:\\Dlang\\Libs\\glfw3.lib"],
> 	"dflags-dmd": [""],
> 	"versions-x86_64": ["UseAmd64Impl"],
> 	"dependencies": {
> 	}
> }

seems "versions-x86_64": ["UseAmd64Impl"],

doesn't actually make it 64

                                        ******
Performing "debug" build using dmd for x86.
midimonitor ~master: building configuration "application"...
Linking...
Microsoft (R) Incremental Linker Version 14.00.23506.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1104: cannot open file '_CMDLINE'
--- errorlevel 1104
dmd failed with exit code 1104.

Sheesh, why is it so hard to do simple stuff?


More information about the Digitalmars-d-learn mailing list