SmartBody : Building SmartBody for OSx

To build the OSX version:

From the repository, run the shell script from a terminal:

./osxlibsdownload.sh

This will download the needed dependencies in source code form, create a folder called 'dependencies'.

Next, build the dependencies by running the script:

sudo ./osxlibsbuild.sh

Running as superuser (sudo) is needed because of certain installation commands. The script will build the necessary dependent libraries in the include/ and lib/ folders under the main smartbody folder.

Next, make and install the SmartBody code as follows:

mkdir buildfolder
cd buildfolder
cmake ..
make -j6 install

(NOTE: There is an error when using cmake 2.8.4. Please download and install cmake 2.8.10 from: http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz)

This will create the Makefiles, then run the build script and install the executable sbgui in core/smartbody/sbin/bin

You can then run sbgui by running:

cd core/smartbody/sbgui/bin
./sbgui

 


 

 

Comments:

A better way to build boost is to use boost.sh from https://gitorious.org/~galbraithjoseph/boostoniphone/galbraithjosephs-boostoniphone. It check a version of boost from boost svn repository, compiles boost into a framework that can be used by XCode or other build tools. It also builds a universal library for iOS in the same pass.

Posted by leuski at Nov 16, 2012 11:54