Hello,
I have a question regarding a library.
I want to use a library within my catkin package (I use jade).
With the following structure:
In the src folder of my project I have added the library folder lib.
catkinws/src/Project/lib/
The external library has following structure
- catkinws/src/Project/lib/clib2add/Makefile ->The Makefile of the external library
- catkinws/src/Project/lib/clib2add/src ->The Sourcecode of the external library
- catkinws/src/Project/lib/clib2add/libs/staticlib2add.a ->The static library produced with the Makefile
So my question:
How can I compile the external c library with the given Makefile?
How can I add the resulting static library in my catkin project?
(somehow i have to define its source and link it to the project target, unfortunately I could no succeed with target link libraries)
Do you have any idea how my CMakeLists and the Package.xml should look like?
Thank you very much!
↧