TBB Not Found While Compiling Prusa Slicer from Source on Mac OS
 
Notifications
Clear all

TBB Not Found While Compiling Prusa Slicer from Source on Mac OS  

  RSS
vipul.s.paul
(@vipul-s-paul)
Active Member
TBB Not Found While Compiling Prusa Slicer from Source on Mac OS

Hi, I'm trying to build PrusaSlicer from source on Mac. I am a developer but I do not have a lot of experience with C++. Definitely don't have any experience with CMake. I'm following the instructions given here. Every time I try to build dependencies. This command

cmake ..

it gives me errors. Earlier it was saying "Boost cannot be found." I fixed that by installing boost with brew. Now it's stuck on TBB.

OS X SDK Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
OS X Deployment Target: (default)
-- Boost::boost exists
CMake Error at /opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  TBB library cannot be found.  Consider set TBBROOT environment variable.
  (missing: TBB_LIBRARIES) (found version "2020.3")
Call Stack (most recent call first):
  /opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindTBB.cmake.in:286 (find_package_handle_standard_args)
  cmake/modules/FindTBB.cmake:29 (include)
  CMakeLists.txt:384 (find_package)


-- Configuring incomplete, errors occurred!

I have installed TBB. If you would notice even this error has the version listed. I have also tried installing these packages with macports instead of brew but to no avail

Posted : 17/05/2022 4:55 am
Share: