Afegiu con conjunt de biblioteques a un objectiu.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com
Jaume Planas
jplanas@itberga.com 2011
Gil Forcada
gilforcada@guifi.net 2013

# Add packaged libraries

On Linux, most libraries are distributed with additional data stored in a pkg-config file. This file contains information like the other libraries needed, the C compiler and the linker flags needed to use that library. This file, the header files and the library files themselves is called a package.

Trieu el programa on voleu afegir-hi la biblioteca nova a la vista de projecte, feu clic al botó secundari del ratolí perquè es mostri el menú contextual del projecte i trieu Afegeix una biblioteca.

O en el menú principal, trieu ProjecteBiblioteca nova....

You need to select the target where you want to add the library in the target button above.

A library cannot be added directly to a target. You can add only a module displayed in the module view below. If you select a library inside a module, the parent module will be added.

If the library you want is not displayed in the module view, you need to add it as a module first. Click on the button New Library and follow the explanation here.

After creating a new module, you have to wait a few seconds while the project files are reloaded to see the new module in the list.

When you are done, click on the Add button to add the selected module to the target.