Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Export referenced library from static library
Export referenced library from static library [message #986947] Thu, 22 November 2012 13:38
Remko Tronçon is currently offline Remko TronçonFriend
Messages: 4
Registered: July 2010
Junior Member
I have a project with the following setup: An executable 'Executable', which references a static library 'LibraryA', which in turn references another library, 'LibraryB'.

In the 'LibraryA' project, i have 'LibraryB' listed in the "References" tab (under "Paths & Symbols"). In the 'Executable' project, i have 'LibraryA' listed in the "References" tab. This setup makes everything compile, but Executable obviously doesn't link, since it needs LibraryB, and since this library is not exported from LibraryA.

The problem is: since LibraryA is a static library project, I don't have a "Libraries" tab where I can export the referenced LibraryB from (since a static library has no linker, therefore not a libraries input, and therefore no Libraries tab).

It sounds to me that CDT trying to mix the exports with the inputs of a project is not really correct. Or am I missing something?
Previous Topic:Export project with building settings
Next Topic:How to get rid of wrong errors
Goto Forum:

Current Time: Sun Apr 30 15:30:45 GMT 2017

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

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