Menu

PodballBuild

Lars Ruoff

Podball Build Instructions

To build the project you will need CMake (http://www.cmake.org/), a cross-platform, open-source build system.

Build has been tested on the following platforms:
- Microsoft Visual Studio 2012 Express for Desktop on Windows7, with boost_1_55_0.
- Microsoft Visual Studio Community 2017 on Windows7, with boost_1_66_0.
- gcc-7 on Ubuntu 17.10 (Artful) Desktop 64 bit, with boost_1_66_0.

External Dependencies

Podball depends on the following external librairies:

  • Boost.filesystem
  • Boost.program_option
  • Boost.serialization
  • FLTK v1.3
  • OpenGL

Building Podball using MS Visual Studio on Windows

Downloading and building Boost librairies

  1. Download most recent version of Boost librairies from here
  2. Build Boost libraries
    (Do this from a Visual Studio Developer Command Prompt within the directory where you unpacked the libraries to)

    bootstrap --with-libraries=filesystem,program_options,serialization
    .\b2

Downloading and building FLTK v1.3.4

  1. Download fltk-1.3.4-2-source.tar.gz.
  2. Fltk contains a VisualC2010 solution file in \ide\VisualC2010\fltk.sln. Just load it and upgrade to your latest VC soltion format.
  3. Then you should be able to build the ALL_BUILD project as Release.

Building Podball

Set the environment variable FLTK_DIR to the base directory where you installed FLTK.
Set the environment variable BOOST_ROOT to the base directory where you installed Boost.

Then, from the Podball main directory, run

cmake .

This will generate the MSVC project and solution files.
Then all you need is to open the PODBALL.sln solution file and Build All.

Building Podball on Ubuntu 17.10 (Artful) Desktop 64 bit

Follow these steps:

~$
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install mercurial
sudo apt-get install libfltk1.3-dev
wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.bz2
~/lib$
tar --bzip2 -xf ../boost_1_66_0.tar.bz2
~/lib/boost_1_66_0$
./bootstrap.sh --with-libraries=filesystem,program_options,serialization
./b2
hg clone ssh://scrontch@hg.code.sf.net/p/podball/code podball
~/podball$
export BOOST_ROOT=~/lib/boost_1_66_0
cmake .
make

Related

Wiki: Home
Wiki: PodballDev
Wiki: PodballNews

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.