This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/OMAP-L137: static lib linking

Part Number: OMAP-L137

Tool/software: Code Composer Studio

Hi all, 

I have a static lib, i have included DSPLIB to the static lib compiler configuration, as i'm using the lib.

The problem i'm seeing (probably its not) the code gets compiled, builds the lib output file.

And i  import the required .h files along with the .lib file into my main project, it seems to doing the compilation and linking just actually in the main project.

cause, i had to add the dsplib again into my main lib inorder for it to build the output, otherwise i end up getting linking error.

Is the static lib, designed in a way not to link to other libraries?

what i'm seeing is an issue or is that how it should work?

(For security reasons, i wont be able to share much or any information/pic of the actual project)

  • NancyJ said:

    s the static lib, designed in a way not to link to other libraries?

    what i'm seeing is an issue or is that how it should work?

    Please see this related thread that addresses your question. Basically it is not possible to create a hierarchy of libraries but if you really wish to create a single library that comprises of object files from multiple libraries, you can do that as described in that thread.