www.digitalmars.com         C & C++   DMDScript  

D - Funky linking error

reply Evan McClanahan <evan dontSPAMaltarinteractive.com> writes:
I get this...

C:\evan\dmd\bin>dmd ../../src/MTrand.d -inline
dmd ../../src/MTrand.d -inline
link ../../src/MTrand,,,user32+kernel32/noi;
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : fatal error LNK1181: cannot open input file 
"../../src/MTrand,,,user32+kernel32/noi;.obj"
--- errorlevel 1181

so it's looking for this .obj: "../../src/MTrand,,,user32+kernel32/noi;.obj"

but this is the one that exists: MTrand.obj

Is there something that I'm doing wrong here?  I can't seem to find 
anything in the docs, and turning on verbose doesn't seem to help much. 
So I'm stuck for the moment.

using dmdalpha .43, i think.

Evan
Oct 04 2002
next sibling parent Patrick Down <pat codemoon.com> writes:
Evan McClanahan <evan dontSPAMaltarinteractive.com> wrote in
news:ank3iv$eh8$1 digitaldaemon.com: 

 I get this...
 
 C:\evan\dmd\bin>dmd ../../src/MTrand.d -inline
 dmd ../../src/MTrand.d -inline
 link ../../src/MTrand,,,user32+kernel32/noi;
 Microsoft (R) Incremental Linker Version 6.00.8447
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

dmd is picking up Microsoft's linker and not the digital mars one. Is it a path issue?
Oct 04 2002
prev sibling parent Evan McClanahan <evan dontSPAMaltarinteractive.com> writes:
Path issues.  I'm an idiot.

Evan


Evan McClanahan wrote:
 I get this...
 
 C:\evan\dmd\bin>dmd ../../src/MTrand.d -inline
 dmd ../../src/MTrand.d -inline
 link ../../src/MTrand,,,user32+kernel32/noi;
 Microsoft (R) Incremental Linker Version 6.00.8447
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
 
 LINK : fatal error LNK1181: cannot open input file 
 "../../src/MTrand,,,user32+kernel32/noi;.obj"
 --- errorlevel 1181
 
 so it's looking for this .obj: 
 "../../src/MTrand,,,user32+kernel32/noi;.obj"
 
 but this is the one that exists: MTrand.obj
 
 Is there something that I'm doing wrong here?  I can't seem to find 
 anything in the docs, and turning on verbose doesn't seem to help much. 
 So I'm stuck for the moment.
 
 using dmdalpha .43, i think.
 
 Evan
 

Oct 04 2002