# Development Configuration
To use the AllJoyn framework in a project, the compiler must be configured with the loaction of the AllJoyn libraries. In Linux, this is done by modifying environment variables that set the compiler's search path. 
* ### Set Library Path Variables
 * Set environment variables that point to the location of the library files. This will make configuring the other locations easier:
   ```sh
   $ export AJ_DIST="$AJ_ROOT/core/alljoyn/build/linux/<TARGET CPU>/<VARIANT>/dist"
   $ export NS_DIST="$AJ_ROOT/core/alljoyn/build/linux/<TARGET CPU>/<VARIANT>/dist/notification"
   $ export CPS_DIST="$AJ_ROOT/core/alljoyn/build/linux/<TARGET CPU>/<VARIANT>/dist/controlpanel"
   $ export OS_DIST="$AJ_ROOT/core/alljoyn/build/linux/<TARGET CPU>/<VARIANT>/dist/onboarding"
   $ export SC_DIST="$AJ_ROOT/core/alljoyn/build/linux/<TARGET CPU>/<VARIANT>/dist/services_common"
   ```
* ### Configure Include Paths
 * The `CXXFLAGS` environment variable configures the C++ compiler with the search locations for header files. To add the AllJoyn libraries to the search locations, modify the variable:
   ```sh
   $ export CXXFLAGS="$CXXFLAGS \
   > -I$AJ_DIST/cpp/inc \
   > -I$NS_DIST/inc \
   > -I$CPS_DIST/inc \
   > -I$OS_DIST/inc \
   > -I$SC_DIST/inc"
   ```
* ### Configure Linker to Include AllJoyn Libraries
 * The `LDFLAGS` environment variable configures the C++ linker with the search paths for library files. To add the AllJoyn libraries to the search locations, modify the variable:
   ```sh
   $ export LDFLAGS="$LDFLAGS \
   > -L$AJ_DIST/cpp/lib \
   > -L$NS_DIST/lib \
   > -L$CPS_DIST/lib \
   > -L$OS_DIST/lib \
   > -L$SC_DIST/lib"
   ```
