Ask Your Question

opencv3.3.0 with TBB, libtbb-dev installed, but build fails

asked 2018-02-12 01:24:00 -0500

lduo gravatar image

After my 5th attempt and unable to progress any further, I now call on you all. I'm on Ubuntu 16.04, trying to build opencv3.3.0 with its corresponding contrib modules; libtbb-dev is installed (apt-get install confirms it's already the latest version), the .so libraries are here:


In my cmake I did specify -DWITH_TBB=ON, but got the following error at the [83%] mark:

No rule to make target '/usr/lib/', needed by 'lib/'.

I then specified a path to the libtbb libraries as follows:


But still to no avail. I've got the same error:

No rule to make target '/usr/lib/', needed by 'lib/'.

I have also check the interactive cmake (ccmake), and it does show:

TBB_ENV_LIB /usr/lib/x86_64-linux-gnu/

So why, when libtbb is present, when I do give its path and cmake confirms it sees it, the build is looking for a misplaced and fails?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-09-14 16:47:39 -0500

I had similar problem. To pass that stage I had to create a symbolic link for inside /usr/local/lib directory

sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/local/lib/
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-02-12 01:24:00 -0500

Seen: 1,447 times

Last updated: Feb 12 '18