Ask Your Question
0

ld: library not found for -llibtbb.dylib

asked 2014-04-29 07:11:15 -0600

Doeke Wartena gravatar image

I try to compile some files from the opencv-2.4.8/apps/haarfinder folder only one file is added: https://dl.dropboxusercontent.com/u/17630770/temp/mergevec.cpp

but i get the following error:

ld: library not found for -llibtbb.dylib Notice the double l in the filename.

I try to follow the tutorial here: http://coding-robin.de/2013/07/22/train-your-own-opencv-haar-classifier.html

And in the comments i readed:

"After many, many hours of pondering and looking around. I decided to take it as a spelling error in some file so I decided to look into opencv files and search for that "-llibtbb" and finally found it. I corrected it to only "libtbb" and its finally working."

Sadly he didn't mention what file that was. I tried with sublime 'Find in files' but i can't find it.

Can someone else take a look or help me in another way? Like if i know where libtbb.dylib is stored i might be able to duplicate it and add the spelling error myself so at least the file exists.

Doeke

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-29 07:58:28 -0600

Okay first of all some remarks

  1. Official openCV 2.4 branch, which is the 2.4.9 branch with extra fixes, has no haarfinder folder nor has it the mergevec folder.
  2. Neither does the master branch.

Nevertheless people have been asking around for the mergevec software lately. Let me repeat that mergevec is NOT an official supported piece of code, but simply the work of someone programming with openCV who has stopped supporting the mergevec utility.

The mergevec utility isn't needed in any way to train a cascade classifier.

edit flag offensive delete link more

Comments

1

I ment haartraining, very sharp of you :) And i know mergevec.cpp is not included, that's why i said one file is added. The thing is i can't find llibtbb.dylib in the file i add so i was thinking the problem might be somewhere in openCV. That's why i asked here.

Doeke Wartena gravatar imageDoeke Wartena ( 2014-04-29 08:53:49 -0600 )edit

Did you install Intel TBB libs for your system? Else build openCV without the TBB flag.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-04-29 08:55:44 -0600 )edit

I installed TBB.

Doeke Wartena gravatar imageDoeke Wartena ( 2014-04-29 16:30:13 -0600 )edit

Question Tools

Stats

Asked: 2014-04-29 07:11:15 -0600

Seen: 703 times

Last updated: Apr 29 '14