Anjuta IDE Manual
<<< Previous | Setting Compiler Options | Next >>>

# Library Paths

When your program links to external libraries (specified via the `Libraries` settings in the next section), the linker will search for those libraries in the library search paths. `Anjuta` will automatically use system library paths, but you should add any additional search paths to your project.

To set library paths for your program:

1. Choose the menu item Settings->Compiler and Linker Settings … and click on the `Library Paths` tab in the Compiler Options dialog.

2. Enter each of the paths one by one and click on the Add button for each entry.

3. To remove an entry, select the entry in the list and click on Remove.

4. To edit an entry, select the entry, modify it in the text box and click on Update

5. To clear all of the entries, click on Clear.

Figure 3. Library Paths dialog

| Things to note
| If the settings are for a project, then all library paths should be relative to the source directory of the project. Avoid using absolute paths — otherwise, when you distribute the source code, other people will have problems trying to build the program. If the settings are are made outside of a project, then it doesn't matter whether the paths are absolute or relative — the settings will be local to your machine only.

<<< Previous | Home | Next >>>
Include Paths | Up | Libraries to link