?
Solved

link error "cannot open file"

Posted on 2001-08-15
6
Medium Priority
?
203 Views
Last Modified: 2012-05-04
I'm using MS visual c++ and get an error
'cannot open file "..\..\..\lib\debug\foo.lib"'.
This file is in the d:\x\x1\lib\debug directory and the
tools/option lib directories point to this path.  Please give me an idea.
0
Comment
Question by:brejen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 6

Accepted Solution

by:
Triskelion earned 150 total points
ID: 6390455
Move it to a different directory and try it again.
Move it to something simple like d:\

0
 
LVL 1

Expert Comment

by:Aggarwal
ID: 6390815
In case, u still have problem include the lib file in the project itself ..for checking !!

Suggestion ->
dun give path like ..\..\lib\debug\foo.lib ..

in the linking option specify ur lib name .. foo.lib
now Tools->Options->LibraryPath
u include path of foo.lib ..

This will work !!!
0
 
LVL 11

Expert Comment

by:griessh
ID: 6851526
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to refund the points and PAQ at zero points since you never gave more feedback.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 6

Expert Comment

by:Triskelion
ID: 6851717
griessh...

My suggestion on this one is valid and could possibly have been the answer.
You're right that there was never any feedback, but that happens a lot especially with 1st and 2nd questions.
0
 
LVL 11

Expert Comment

by:griessh
ID: 6853817
Sure, could be ... but (s)he mentioned having it in the lib path. Just moving the file won't fix the problem (if the statement in the question is really true!)

======
Werner
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6874995
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question