Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows = "Could not find TBB!" #66

Closed
robertdetroit opened this issue Jun 19, 2019 · 3 comments
Closed

Windows = "Could not find TBB!" #66

robertdetroit opened this issue Jun 19, 2019 · 3 comments

Comments

@robertdetroit
Copy link

robertdetroit commented Jun 19, 2019

I installed the latest version of TBB through anaconda (https://anaconda.org/intel/tbb), but for some reason, every time I try to build SPTAG, it keeps stopping with "CMake Error at CMakeLists.txt:109 (message): Could not find TBB!"

Does anyone know a work-around for this? In the case that this is due to a faulty TBB installation, does anyone have some insight on how to properly install it on their windows machine (Visual Studio 2019)? All the available TBB installation documentation that I found are very outdated.

@RioMichael
Copy link

I got the same issue when I tried to build SPTAG. Fixed the issue by changing line 96 and 97 of the CmakeList.txt to:
find_path(TBB_INCLUDE_DIRS tbb/tbb.h HINTS ${TBB_DIR} "your path to tbb folder" PATH_SUFFIXES include)
find_library(TBB_LIBRARIES tbb${CMAKE_STATIC_LIBRARY_SUFFIX} HINTS ${TBB_DIR} "your path to tbb folder" PATH_SUFFIXES ${TBB_LIBRARY_SUFFIX})
Depends on different system, you may need to change in another condition.

My system:
OS: Windows 10
Python: python 2.7

@deepxuexi
Copy link

deepxuexi commented Jun 20, 2019

stallation documentation that I found are very outdated.
1.download the file : tbb2019_20190410oss_win.zip and extract it , you will find the dir "tbb2019_20190410oss" ,rename the dir name to "TBB".

  1. move the dir "TBB" to path "C:\Program Files\Intel" (if path not exist , create it).
  2. OK!

my OS is win10, VS2017.
DOWNLOAD URL:
https://github.com/intel/tbb/releases/download/2019_U8/tbb2019_20190605oss_win.zip

@robertdetroit
Copy link
Author

@RioMichael @deepxuexi Thank you both - worked like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants