Community
cancel
Showing results for 
Search instead for 
Did you mean: 
amina-jarraya
Beginner
35 Views

Error when building the sub_string_finder example

Hello,

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,
0 Kudos
1 Reply
sinaelgl
Beginner
35 Views

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