|
BuildMac
Mac OS XInstall the Prerequisites
Build SoarGo into the SoarSuite folder and run: python scons/scons.py all All of your resulting binaries will be in the /out folder. For more detailed information about the Scons script, see the SCons Script Documentation page. See the FAQ for common solutions to errors. Set Up Environment VariablesWhile you don't need any environment variables to build Soar, you may need a few set when running or developing for Soar. To make these changes permanent, edit the .bashrc file in your home diretory and put them at the bottom. Soar binaries are, by default, installed to a prefix SoarSuite/out. Java-based Soar application may need to be able to load relevant dynamic libraries on the fly, so you need to make sure that it can find the libraries it needs. Java will look DYLD_LIBRARY_PATH, so you can use that to tell it where to look. # The exact path here will depend on your system settings. export DYLD_LIBRARY_PATH=/home/$USER/soar/SoarSuite/out/ Certain functions in the kernel may also use the SOAR_HOME environment variable to find binaries. For example, SpawnDebugger uses it to find the SoarDebugger.jar. # The exact path here will depend on your system settings. export SOAR_HOME=/home/$USER/soar/SoarSuite/out/ For more detailed information about library search paths, see our wiki page on how library search paths work. | |