Error when building the sub_string_finder example

Error when building the sub_string_finder example


I'm a debutant with intel TBB. I download the version 3.0.

I try to build an example (sub_string_finder) but i have the following error :

root@amina-laptop:/home/amina/Bureau/sourcesTBB/tbb30/examples/GettingStarted/sub_string_finder# make
g++ -O2 -DNDEBUG -o sub_string_finder sub_string_finder.cpp -ltbb -lrt
/usr/bin/ld: cannot find -ltbb
collect2: ld returned 1 exit status
make: *** [release] Erreur 1

Have you an idea for this problem ? may be i forget to install something.

Thank you,

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello, you have to execute "source /opt/intel/bin/ intel64" (you have to check if is in that directory, if not replace the path in this command.

Leave a Comment

Please sign in to add a comment. Not a member? Join today