Thread overview
Funky linking error
Oct 04, 2002
Evan McClanahan
Oct 04, 2002
Patrick Down
Please ignore! Re: Funky linking error
Oct 04, 2002
Evan McClanahan
October 04, 2002
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

October 04, 2002
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?



October 04, 2002
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
>