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
Error on configuring parallelstl using CMake on Windows #14
Comments
Hi @mselim, Parallel STL requires an installed TBB. For binary integration (the simplest way) you need to download a TBB release (for example TBB 2018 U5 for Windows), unpack it wherever you want and pass cmake -DTBB_DIR=<dir-with-unpacked-tbb>\tbb2018_20180618oss\cmake <pstl-root> (supported starting from TBB 2017 U7) Please try and let me know if it helps or not. Here I've described an example for Linux. |
Just I wanted you to know, I don't use TBB pre-built binary, I download the TBB src and build it using C++ Visual Studio 2017 (since there's no binaries for C++2017 yet), in this case do you think the above solution would help? |
Actually you can use prebuilt TBB binaries for vc14 with Visual Studio 2017 (vc14.1), see this discussion for details. If you still need to build TBB, have you considered TBBBuild? It'll create TBBConfig files for CMake. |
Unfortunately TBBBuild is unknown for me, the link doesn't provide any information. How can the TBBBuild help in this case, can you guide me a bit here, thanks in advance. |
Closing the issue because there is no activity for a long time. Feel free to reopen it if it is still actual. |
Hi, @AlexVeprev,
|
Hi, @linrio, you have absent CMakeLists.txt in |
@AlexVeprev , I download parallelstl from |
Complaining that a TBB CMake directory is missing, though TBB is not build (doesn't provide) CMake configuration and building
**CMake Error at CMakeLists.txt:39 (find_package):
By not providing "FindTBB.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "TBB", but
CMake did not find one.
Could not find a package configuration file provided by "TBB" (requested
version 2018) with any of the following names:
Add the installation prefix of "TBB" to CMAKE_PREFIX_PATH or set "TBB_DIR"
to a directory containing one of the above files. If "TBB" provides a
separate development package or SDK, be sure it has been installed.**
The text was updated successfully, but these errors were encountered: