bvh_builder command not found

In this troubleshooting guide we learn how to fix bvh_builder command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bvh_builder: command not found

or when using sudo you get the following error message

sudo: bvh_builder: command not found

Solutions to bvh_builder: command not found

How To Fix bvh_builder: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bvh_builder is provided by embree-tools package.

embree-tools is:

Intel(R) Embree is a collection of high-performance ray tracing kernels, developed at Intel. The target users of Intel(R) Embree are graphics application engineers who want to improve the performance of their photo-realistic rendering application by leveraging Embree’s performance-optimized ray tracing kernels. The kernels are optimized for the latest Intel(R) processors with support for SSE, AVX, AVX2, and AVX-512 instructions. Intel(R) Embree supports runtime code selection to choose the traversal and build algorithms that best matches the instruction set of your CPU.

This package provides the official command-line tools.

To fix this problem, we can install more using the command below.

sudo apt-get -y install embree-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install embree-tools.

sudo apt -y install embree-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install embree-tools

Summary

In this tutorial we learn how to fix bvh_builder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.