Appendices

Installing Coin3D and SoXt/Qt Bindings

  • For example, on Mac, installing coin (needs Boost) and SoQt:

    git clone --recurse-submodules https://github.com/coin3d/coin coin
    cmake -Hcoin -Bcoin_build -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=<install-directory>/coin3d/coin_install \
    -DCOIN_BUILD_DOCUMENTATION=OFF -DCOIN_BUILD_MAC_FRAMEWORK=OFF \
    -DBoost_INCLUDE_DIR=<install-directory>/boost/boost_1_72_0
    cd coin_build
    make -j8
    sudo make install
    
    git clone --recurse-submodules https://github.com/coin3d/soqt soqt
    cmake -Hsoqt -Bsoqt_build -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=<install-directory>coin3d/soqt_install \
    -DCOIN_BUILD_MAC_FRAMEWORK=OFF \
    -DCMAKE_PREFIX_PATH="<install-directory>/coin3d/coin_install;<Qt-installed-directory>/5.15.0/clang_64"
    cd soqt_build
    make -j8
    sudo make install
    

    Similarly for SoXt.

  • On Unix, you should be able to install the needed libraries for Open Inventor using your package manager. They are:

    In all cases you should install both the basic version and the development version of the packages, e.g:

    • Coin3 Coin3-devel SoQt SoQt-devel (names may differ slightly)

    If you are unable to install as packages, the libraries can also be downloaded and built from source. The source code and build instructions for the Coin3d libraries are available from https://coin3d.github.io/

  • On Windows, the libraries you need are Coin and SoWin (version 1.4). There may be Windows installers available.