www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - dwt-win linking problem

reply Rakan Alhneiti <rakan.alhneiti gmail.com> writes:
Hello,

would anyone know the reason behind dwt-win not linking when it's built 
using dsss
what i get is this:


C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LINK : fatal error LNK1104: cannot open file "link.rf"

Thanks,
Rakan
Jul 20 2008
next sibling parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Rakan Alhneiti schrieb:
 Hello,
 
 would anyone know the reason behind dwt-win not linking when it's built 
 using dsss
 what i get is this:
 
 
 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
 
 LINK : fatal error LNK1104: cannot open file "link.rf"
 
 Thanks,
 Rakan
looks like a broken dsss/rebuild to me. sorry for no better help
Jul 21 2008
parent Rakan Alhneiti <rakan.alhneiti gmail.com> writes:
Frank Benoit wrote:
 Rakan Alhneiti schrieb:
 Hello,

 would anyone know the reason behind dwt-win not linking when it's 
 built using dsss
 what i get is this:


 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 LINK : fatal error LNK1104: cannot open file "link.rf"

 Thanks,
 Rakan
looks like a broken dsss/rebuild to me. sorry for no better help
I will try re-install dsss and check out the result
Jul 21 2008
prev sibling parent reply torhu <no spam.invalid> writes:
Rakan Alhneiti wrote:
 Hello,
 
 would anyone know the reason behind dwt-win not linking when it's built 
 using dsss
 what i get is this:
 
 
 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
 
 LINK : fatal error LNK1104: cannot open file "link.rf"
Looks like you have the MS tools in your path before the digitalmars ones.
Jul 21 2008
parent reply Rakan Alhneiti <rakan.alhneiti gmail.com> writes:
torhu wrote:
 Rakan Alhneiti wrote:
 Hello,

 would anyone know the reason behind dwt-win not linking when it's 
 built using dsss
 what i get is this:


 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 LINK : fatal error LNK1104: cannot open file "link.rf"
Looks like you have the MS tools in your path before the digitalmars ones.
Hello torhu, i added the all D's directories paths like dsss before the tools but still get the same error. I checked dsss and re-installed also but i am getting the same problem here is my PATH C:\d\bin;C:\d\dsss\bin;C:\d\dwt-win\;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;
Jul 21 2008
parent reply torhu <no spam.invalid> writes:
Rakan Alhneiti wrote:
 torhu wrote:
 Rakan Alhneiti wrote:
 Hello,

 would anyone know the reason behind dwt-win not linking when it's 
 built using dsss
 what i get is this:


 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 LINK : fatal error LNK1104: cannot open file "link.rf"
Looks like you have the MS tools in your path before the digitalmars ones.
Hello torhu, i added the all D's directories paths like dsss before the tools but still get the same error. I checked dsss and re-installed also but i am getting the same problem here is my PATH C:\d\bin;C:\d\dsss\bin;C:\d\dwt-win\;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;
Then there's probably no lib.exe in c:\d\bin. Or dsss is autodetecting and and making a mistake.
Jul 22 2008
parent reply Rakan Alhneiti <rakan.alhneiti gmail.com> writes:
torhu wrote:
 Rakan Alhneiti wrote:
 torhu wrote:
 Rakan Alhneiti wrote:
 Hello,

 would anyone know the reason behind dwt-win not linking when it's 
 built using dsss
 what i get is this:


 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 LINK : fatal error LNK1104: cannot open file "link.rf"
Looks like you have the MS tools in your path before the digitalmars ones.
Hello torhu, i added the all D's directories paths like dsss before the tools but still get the same error. I checked dsss and re-installed also but i am getting the same problem here is my PATH C:\d\bin;C:\d\dsss\bin;C:\d\dwt-win\;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;
Then there's probably no lib.exe in c:\d\bin. Or dsss is autodetecting and and making a mistake.
I have checked, c:\d\bin does contain lib.exe If dsss is auto-detecting and making a mistake then it is a mistake the dwt installation files or dsss files because i have followed the exact instructions for windows installation in DWT's wiki. Is there a fix? Thanks again, Rakan
Jul 23 2008
parent torhu <no spam.invalid> writes:
Rakan Alhneiti wrote:
 torhu wrote:
 Rakan Alhneiti wrote:
 torhu wrote:
 Rakan Alhneiti wrote:
 Hello,

 would anyone know the reason behind dwt-win not linking when it's 
 built using dsss
 what i get is this:


 C:\d\dwt-win>Microsoft (R) Library Manager Version 5.12.8078
 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

 LINK : fatal error LNK1104: cannot open file "link.rf"
Looks like you have the MS tools in your path before the digitalmars ones.
Hello torhu, i added the all D's directories paths like dsss before the tools but still get the same error. I checked dsss and re-installed also but i am getting the same problem here is my PATH C:\d\bin;C:\d\dsss\bin;C:\d\dwt-win\;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;
Then there's probably no lib.exe in c:\d\bin. Or dsss is autodetecting and and making a mistake.
I have checked, c:\d\bin does contain lib.exe If dsss is auto-detecting and making a mistake then it is a mistake the dwt installation files or dsss files because i have followed the exact instructions for windows installation in DWT's wiki. Is there a fix?
Most likely, that's not the path you're really using. Try setting the path to just 'C:\d\bin;C:\d\dsss\bin' and building again. And verify that c:\d\bin\lib.exe is really digital mars lib.exe, not MS. If you're familiar with tools like Process Explorer or Process Monitor (freely available at sysinternals.com), you can easily see which lib.exe rebuild is executing. Another way is to check dsss/rebuild's source code to see how lib.exe is found.
Jul 23 2008