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

# Include Paths

To set include paths for your program:

1. Choose the menu item Settings->Compiler and Linker Settings … and click on the `Include 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 2. Include Paths dialog

| Things to note

If the settings are for a project, then all include 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 >>>
Setting Compiler Options | Up | Library Paths