I installed the Intel Threading Building Blocks. I am unable to set the environment variables for XCode (lib and include path).
To start with I want to write a simple parallel_for program, I am not able to add even the namespace tbb
in my program.
Can anyone please help?
Thats pretty straightforward: best way to install it:
Requires Homebrew, which is highly recommended for any Mac user wanting to use various open source tools.
Adjust 3 project settings
After that do
brew info tbb
to see the installation directory, in my casewich results in
for the respective project settings,
Header Search Paths
andLibrary Search Paths
.In
Other Linker Flags
enter-ltbb
and there you are.Test code example
I´ve verified this example with the aforementioned settings in Xcode 8.3