MIRTK icon indicating copy to clipboard operation
MIRTK copied to clipboard

Installation on Windows 10 with TBB

Open EzzatAiman opened this issue 6 years ago • 1 comments

"The DEPENDS_TBB_DIR variable can alternatively be set to the directory containing a TBBConfig.cmake or tbb-config.cmake file. If no such file exists, contact either the developer of this project or CMake BASIS to provide a FindTBB.cmake file."

This error happened even after a standard installation of TBB. Can you give a recommendation on which path should be specified to the TBB folder.

Thank you.

EzzatAiman avatar Nov 12 '19 11:11 EzzatAiman

Sorry for the late reply. I only recently got my hands on a Windows machine again and gave it a shot. The DEPENDS_TBB_DIR should be set to the path where you extracted the TBB release ZIP to, which can be downloaded from https://github.com/intel/tbb/releases. In my case, I extracted the files to C:\Libs\tbb2019_20191006oss. This is the value for DEPENDS_TBB_DIR to specify. The CMake module FindTBB should then be able to locate it.

Alternatively, you can search for the file TBBConfig.cmake in the TBB installation and point TBB_DIR to the directory containing this file.

schuhschuh avatar Nov 24 '19 00:11 schuhschuh