I try to compile some files from the opencv-2.4.8/apps/haarfinder but i get the following error:
ld: library not found for -llibtbb.dylib
Notic
If the libtbb.dylib file already exists like in my case in the /usr/local/lib folder then all you need to do is to run this command: export DYLD_LIBRARY_PATH=/usr/local/lib
libtbb.dylib
/usr/local/lib
export DYLD_LIBRARY_PATH=/usr/local/lib