error when compile opencv in qt applying tbb

I Have the following issue when compiling opencv project in qt applying tbb

dyld: Library not loaded: libtbb.dylib
Referenced from: /usr/local/lib/libopencv_core.2.4.dylib
Reason: image not found
The program has unexpectedly finished.

Can any friend tell me how to solve this problem?

Answers


Oh, I suddenly solved this problem by copy the libtbb.dylib to /usr/local/lib/ folder.

Thank


The problem is when you are running your application it can't find the libraries to load. You need to set the DYLD_LIBRARY_PATH environment variable to point to the directory containing this library in your application scheme.

Product > Edit Scheme > Environment Variables


Need Your Help

How to center text in TD with anchor/link that fills 100%

html css html-table anchor

Have made some trials to create a TD with an integrated link that fill the TD 100% so when I hover the mouse over the entire TD I can see a change of the cursor and when selected by tabbing to the

How to apply filter when binding with collection inside collection in wpf using collection view source

wpf filter listbox expander

I have a ListBox having different expander as ListBoxItem. expander has ListBox in its content. Now I wanted to apply search filter on header and also in the Content of expander.