Re: Error setting lib dependencies for a library project



"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


.



Relevant Pages

  • RE: Error setting lib dependencies for a library project
    ... > I'm having problems setting additional dependencies for a project which is itself a library. ... > seems that the IDE sends a malformed command line to lib.exe. ... > with its current working directory set to the same directory as Lib2.vcproj.Is there a way to stop ...
    (microsoft.public.vc.ide_general)
  • Re: Mass update, incl. service
    ... the dependencies of the component listed below are in you image (if not, ... if FBA Generic command - launch the specified app, ... > Internet Protocol Network Address Translation - Hotfix Q835732 ...
    (microsoft.public.windowsxp.embedded)
  • Re: [KBUILD] allow any PHONY in if_changed_dep
    ... Working on the "why did we build this target path" at the moment. ... commit f9361616df9f8fc80a5bbe8c0a67cf964a10cbf8 ... # The temporary file to save gcc -MD generated dependencies must not ... Short version is $equals quiet, otherwise full command ...
    (Linux-Kernel)
  • RE: Error setting lib dependencies for a library project
    ... > I'm having problems setting additional dependencies for a project which is itself a library. ... > seems that the IDE sends a malformed command line to lib.exe. ... > with its current working directory set to the same directory as Lib2.vcproj.Is there a way to stop ...
    (microsoft.public.vc.ide_general)
  • Newbie needs help: Makefile Dependencies
    ... TARGET: DEPENDENCIES ... "COMMAND" for the case of the makefile for the program that I am ...
    (comp.unix.programmer)