Eclipse CDT linker issue [message #199119] |
Mon, 12 March 2007 14:34  |
Eclipse User |
|
|
|
Originally posted by: eduzea.gmail.com
Hi,
Eclipse using CDT C++ plugin.
Is there any way to add external source files into a project, and have
eclipse generate the corresponding object files automatically?
Right now I include the external sources (.h and .cpp) from a directory
outside of the project's working directory. It compiles, but the linker
complains about the objects defined in those files. I was able to have it
link by including the .o files for the objects in the
Linker->Miscellaneous setting. Can this step be automated? Shouldn't
eclipse just generate the objects that are required from the source files
in the included directories?
Thanks,
Eduardo
|
|
|
Re: Eclipse CDT linker issue [message #199171 is a reply to message #199119] |
Tue, 13 March 2007 04:10  |
Eclipse User |
|
|
|
Originally posted by: jakub.jurkiewicz.gmail.com
Hi,
I believe you would get more answers if you post this question on the
CDT newsgroup.
regards,
Jakub Jurkiewicz
Eduardo wrote:
> Hi,
>
> Eclipse using CDT C++ plugin.
>
> Is there any way to add external source files into a project, and have
> eclipse generate the corresponding object files automatically?
> Right now I include the external sources (.h and .cpp) from a directory
> outside of the project's working directory. It compiles, but the linker
> complains about the objects defined in those files. I was able to have
> it link by including the .o files for the objects in the
> Linker->Miscellaneous setting. Can this step be automated? Shouldn't
> eclipse just generate the objects that are required from the source
> files in the included directories?
>
> Thanks,
>
> Eduardo
>
|
|
|
Powered by
FUDForum. Page generated in 0.08304 seconds