Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save TimvanScherpenzeel/457b699a38890539fc659805ca9812e2 to your computer and use it in GitHub Desktop.
Save TimvanScherpenzeel/457b699a38890539fc659805ca9812e2 to your computer and use it in GitHub Desktop.
Building instructions for COLLADA2GLTF for MacOS High Sierra Version 10.13.4
# Tested on MacOS High Sierra Version 10.13.4

# Clone Git repo
git clone git@github.com:KhronosGroup/COLLADA2GLTF.git

cd COLLADA2GLTF

# Apple LLVM version 9.1.0 (clang-902.0.39.1) doesn't include <experimental/filesystem>
brew install gcc

export CC=/usr/local/Cellar/gcc/8.1.0/bin/gcc-8
export CXX=/usr/local/Cellar/gcc/8.1.0/bin/g++-8

# Uncomment all #define HAVE_MALLOC_H in OpenCOLLADA (MacOS doesn't include malloc.h)

mkdir -p build && cd build

cmake ..

make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment