I got a Link error 1181 with fresh code from source safe.

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2005
Posts: 109
Reputation: complete is an unknown quantity at this point 
Solved Threads: 0
complete's Avatar
complete complete is offline Offline
Junior Poster

I got a Link error 1181 with fresh code from source safe.

 
1
  #1
Sep 13th, 2006
I got a Link error 1181 with fresh code from source safe. It is looking for a dll that is in the windows/system32 directory and cannot find it.
Linker Tools Error LNK1181
cannot open input file "filename"

The linker tool could not find "filename" because it does not exist or the path was not found.
So how do I set the path to it?

I do not see amy sort of system path in MSCONFIG to set.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: I got a Link error 1181 with fresh code from source safe.

 
0
  #2
Sep 13th, 2006
linkers do NOT link with *.dll files, but link with *.lib files. What, specifically, is "filename"? Is that something you just made up for posting purposes or is that what the linker actaully put in the error message?

>I do not see amy sort of system path in MSCONFIG to set.
Nor should there be. c:\windows\system32 is not intended for development purposes and there is nothing in that directory that your compiler will ever need.
Last edited by Ancient Dragon; Sep 13th, 2006 at 6:44 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 109
Reputation: complete is an unknown quantity at this point 
Solved Threads: 0
complete's Avatar
complete complete is offline Offline
Junior Poster

Re: I got a Link error 1181 with fresh code from source safe.

 
1
  #3
Sep 13th, 2006
The file that the code is tryong to link to is CdrvHF32.lib
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,343
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1460
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: I got a Link error 1181 with fresh code from source safe.

 
0
  #4
Sep 13th, 2006
I think you need VC++ 6.0 compiler installed. I have 2005 express and it isn't in there. Nor is the *.dll in the c:\windows directory. So I suspece you are just SOL with that program and your compiler.
Reply With Quote Quick reply to this message  
Join Date: Nov 2005
Posts: 251
Reputation: dwks has a spectacular aura about dwks has a spectacular aura about 
Solved Threads: 25
dwks's Avatar
dwks dwks is offline Offline
Posting Whiz in Training

Re: I got a Link error 1181 with fresh code from source safe.

 
1
  #5
Sep 14th, 2006
From http://www.wcscnet.com/Products/Cdrv...%5B0001%5D.htm
Make sure that you included the files CDRVPP.LIB, CDRVDL32.LIB, CDRVHF32.LIB, & CDRVXF32.LIB. They are found in the Lib directory for the Microsoft Visual C/C++ compilers and in the LibB directory for the Borland C/C++ compilers.
dwk

Seek and ye shall find.

"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.

"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison

"The only real mistake is the one from which we learn nothing."
-- John Powell
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC