Re: Error setting lib dependencies for a library project
- From: "Andrew McDonald" <myrmecophagavir@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Jun 2005 19:51:40 +0100
"Sean Connery" <SeanConnery@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote...
> "Andrew McDonald" wrote:
>
>> I'm having problems setting additional dependencies for a project which is itself a library. It
>> seems that the IDE sends a malformed command line to lib.exe. Anything I type in the 'additional
>> dependencies' field gets sent verbatim to the lib.exe command line as I'd expect, but the
>> filenames
>> also then get fully qualified and appended to the command line.
>
> You might also consider linking the object files together yourself for the
> final .lib
I'm not sure exactly what you mean - put each of the .obj files from the Lib1 project in the
additional dependencies field for Lib2? Unfortunately not feasible for large projects or 3rd party
libraries.
For now I'm just including both libs as dependencies for my final .exe. After a bit of googling I
found some suggestions that you're not supposed to have libs depending on other libs anyway; though
I don't see why the option is in the IDE if so. Is that just supposed to be there for additional
..obj entries?
Andrew
.
- Follow-Ups:
- Re: Error setting lib dependencies for a library project
- From: Sean Connery
- Re: Error setting lib dependencies for a library project
- References:
- Error setting lib dependencies for a library project
- From: Andrew McDonald
- RE: Error setting lib dependencies for a library project
- From: Sean Connery
- Error setting lib dependencies for a library project
- Prev by Date: Re: Error setting lib dependencies for a library project
- Next by Date: Create Project from Existing Code doesn't create subfolders
- Previous by thread: RE: Error setting lib dependencies for a library project
- Next by thread: Re: Error setting lib dependencies for a library project
- Index(es):
Relevant Pages
|