tunabrain / tungsten

High performance physically based renderer in C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS build instructions

hyperknot opened this issue · comments

If anyone is trying to build this one macOS:

brew install eigen openexr libbtbb  
# possibly others, check what is missing at the end of CMake

brew uninstall openvdb
# it doesn't build with openvdb, probably this can be switched off in CMake with a switch

export CMAKE_PREFIX_PATH=/Users/../Qt/5.10.1/clang_64

rm -rf build
mkdir build
cd build

mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=Release ../..

make -j8

I don't know what OpenVDB is used for, but making sure it's not included makes it compile without errors.

  • Also, the editor is buggy as it's not detecting Retina resolution.

Not sure what's going on, but I just built successfully on macOS following the "Windows + MinGW" instructions.