This page under construction
NOTE: This guide currently applies to Mac OSX, but will be updated in the future with Windows/Linux instructions.
lib.ifi64) next to the existing Winteracter libraries.In CMake:
[OF_FOLDER] as the Source Code location.[OF_FOLDER]/X11-build as the Build Binaries locationName = OSG_DIRType = PATHValue = Path to your [OSG_FOLDER]/X11-install directoryDescription = emptyName = WINTER_ROOTType = PATHValue = Path to your Winteracter /wint directory, e.g. /Users/xyz/Documents/wintDescription = emptyIf you get a CMake error "OpenSceneGraph NOT FOUND", make sure you specified OSG_DIR correctly (Step 3 above).
If you get a CMake warning "Open Motif NOT FOUND", see below to set the path to libXm if you want to build the Winteracter demo.
The configure process sets up build variables that can be modified before generating the actual build system. The variable list can be organized by clicking the "Grouped" button. Set the following variables:
CMAKE_INSTALL_PREFIX = [OF_FOLDER]/OpenFrames-Darwin-installOF_FORTRAN_MODULE to build the Fortran interface and Winteracter exampleCMAKE_LIBRARY_PATH to specify the directory containing Open Motif (libXm) if you are building the Winteracter example. Only needed if you did NOT place libXm next to the installed Winteracter libraries. (see Requirements above)Finally, create the build system:
In Terminal:
[OF_FOLDER]/X11-build foldermake, or make -jN where N is the number of cores your computer hasmake install to install the compiled OpenFrames into the [OF_FOLDER]/OpenFrames-Darwin-install foldertest1 executable is in [OF_FOLDER]/X11-Darwin-install/binIn Terminal:
export OF_ROOT=/path/to/OpenFrames-Darwin-install
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$OF_ROOT/lib
OpenFrames-Darwin-install/bin folder, and type ./test1. XQuartz will launch (if not already running), and an OpenFrames example should run.OpenFrames is now built and installed.