And presumably you've checked to see if this .lib file exists in this path? If not have you tried searching for it to ensure your project settings are , indeed, correct and looking for it in the right place?
Main Topics
Browse All TopicsI am compiling a SLN in VC8
It compiles all projects without errors..when it reaches the last project I get the following error :;
LINK : fatal error LNK1104: cannot open file 'c:\Documents and Settings\xxxxxxx\Desktop\r
Build log was saved at "file://c:\Documents and Settings\xxxxxxx\Desktop\r
sanityTests - 1 error(s), 0 warning(s)
========== Rebuild All: 8 succeeded, 1 failed, 0 skipped ==========
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The name extensions are taken from the compiler option used when linking with the C/C++ Runtime.
/MD
Creates a multithreaded DLL using MSVCRT.lib.
/MDd
Creates a debug multithreaded DLL using MSVCRTD.lib.
/MT
Creates a multithreaded executable file using LIBCMT.lib.
/MTd
Creates a debug multithreaded executable file using LIBCMTD.lib.
btw :
c:\Documents and Settings\xxxxxxx\Desktop\r
do you have a directory that is actually named .. ? If so, that's not good. The .. means go to the directory one level higher. So the above path is equivalent to :
c:\Documents and Settings\xxxxxxx\Desktop\r
You also need to ensure you have the correct library for your specific compiler (not just brand but also version) since all compilers/linkers implement C++ name decorating (name mangling) differently. Code built, for example, with VC2003 may not link with code built with VS2005.
http://en.wikipedia.org/wi
More on name decorating...
http://support.microsoft.c
@evilrix thanks for your help, I am a newbie in this..and this is a one time stop at VC8 I only need to compile this project no more, and I am really not getting any smarter out of the naming conventions etc.
The solution has 8 projects that all link fine except this last one it compiles fine but it does not link correctly.
Should I be searching for a diff openssl version now ?
Thx
>> Should I be searching for a diff openssl version now ?
Just make sure the library you have is specified to work with VC8, if not see if you can find a version that is. Unfortunately linking issues are a right royal pain to solve since it's not usually obvious what the problem is. What I've suggested above is the most obvious but not necessarily the actual reason. Rule this out first and then we can look at what's left.
-Rx.
You are right thanks
I added it but I am getting the following while compiling it
1>Generating Code...
1>Creating library...
1>Copying target to lib/
1>The system cannot find the path specified.
1> 0 file(s) copied.
1>Project : error PRJ0019: A tool returned an error code from "Copying target to lib/"
where exactly should lib/ exist ?
thx
>> I added it but I am getting the following while compiling it
That looks like an error in your project settings. It looks like it is trying to write the library to an invalid output path. Check you project settings for the linkers output.
>> where exactly should lib/ exist ?
For me the output from the linker is $(OutDir)\$(ProjectName).l
Business Accounts
Answer for Membership
by: Infinity08Posted on 2008-02-08 at 05:03:26ID: 20849683
>> cannot open file 'c:\Documents and Settings\xxxxxxx\Desktop\r esiprocate \tfm\..\co ntrib\open ssl\lib\vc \libeay32. lib'
Does that file exist ?