Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Re: Project dependcy and linking

Hi folks:

    I posted this question last week but haven't gotten any responses.
Please help this lost soul.

Thanks

-John


On Sun, 30 Jan 2005 15:46:14 -0800, John Wang <john.wang@xxxxxxxxx> wrote:
> Hi:
> 
>    I have two C++ projects under CDT. One is a static library, e.g.
> testLib which contains a class A.
> 
>    The other is an .exe project, e.g. testCPP, which has a dependency
> on testLib.
> 
>     My problem is that testCPP cannot link correctly to testLib, e.g.
> it cannot resolve A. I've added A.h to the include path of testCPP but
> it still could not resolve the objects.
> 
>     I've set the project reference on testCPP to testLib.
> 
>     Any help is greatly appreciated.
> 
> Thanks
> 
> -John
>


Back to the top