0

I have sources the tbbvars.csh file. I have opened the example directory as I was guided (/GettingStarted/sub_string_finder), and run make. Unfortunately I got the following error:

sub_string_finder.cpp:32:30: error: tbb/parallel_for.h: No such file or directory
sub_string_finder.cpp:33:31: error: tbb/blocked_range.h: No such file or directory
sub_string_finder.cpp:35: error: tbb is not a namespace-name

Does anybody have a clue?

Yaroslav
  • 6,476
  • 10
  • 48
  • 89
  • The include path is not set correctly. Look where is the parallel_for.h file located and set the include path correctly – Gustavo Muenz Oct 11 '12 at 12:22

1 Answers1

1

You must include tbb directory to compile your example

Denis Ermolin
  • 5,530
  • 6
  • 27
  • 44