|
-
April 4th, 2015, 02:22 AM
#4
Re: VC project link error not added lib (can not find mylib.lib)
I have a VC solution . This solution contains 1 exe. and 10 libraries. The libraries are linked to the execute project from
pragma comment(lib,"../outputbin64/lib/mylib")
Before linking the.lib, I want to test the exe. without the .lib
When I comment these lines, they should be blocked. But the exe still sees the .lib and I get a link error:
LINK : fatal error LNK1104: cannot open file '../outputbin64/lib/mylib.lib'
My libraries are not linked to the exe.
My question is "Why does the exe. link the libraries to itself?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|