Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse CDT linker issue
Eclipse CDT linker issue [message #199119] Mon, 12 March 2007 18:34 Go to next message
Eclipse UserFriend
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 08:10 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:eclipse does not exit correctly
Next Topic:plz it's very urgent
Goto Forum:
  


Current Time: Tue Apr 16 10:04:58 GMT 2024

Powered by FUDForum. Page generated in 0.99819 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top