Use the following command line to build an executable for the running example:
icpc -std=c++11 -DTBB_USE_THREADING_TOOLS example.cpp -ltbb
These command lines define the
macro and also link the application against the
is present because the running example uses lambda expressions, which are a C++11 feature.
To map nodes to source code, use
flags when building the application:
icpc -g -std=c++11 -DTBB_USE_THREADING_TOOLS -DTBB_PREVIEW_FLOW_GRAPH_TRACE example.cpp -ltbb_preview