Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;SettingCompilerAndLinkerOptions.rtfd;;¬  Next Section	;CreatingYourOwnBuildTargets.rtfd;;¬  Previous Section

Settingsearchpaths;¬Setting search paths

1	Click the Project Inspector button and choose Build Attributes in the Project Inspector panel.

2	Add the library's location to the Library Search Order list.

3	Add the location of its header files to the Header Search Order list.

Or

2	Add the framework's location to the Framework Search Order list.

The compiler and linker search a standard set of directories for library executables and header files. If you link with a library or framework that is not stored in one of the standard locations, you need to add its location to the search path. You do this from the Build Options inspector. 

¬

The standard search paths are:

Type of file	Search path
¬

Frameworks	/LocalLibrary/Frameworks
/NextLibrary/Frameworks
¬

Header files	the project directory
/LocalDeveloper/Headers
/NextDeveloper/Headers
¬

Libraries	/lib
/usr/lib
/usr/local/lib
¬

For libraries in nonstandard locations, add the library location to Library Search Order and the header file location to Header Search Order. For frameworks, just add the framework location to Framework Search Order; Project Builder already knows to look inside of a framework for its header files.

Related Concept:   ;BuildingConcepts.rtfd;SomeOPENSTEPLibraries;,  Some OPENSTEP Libraries