Hi, I've been trying to compile a program using OpenCV running on OS X with TBB.
First, I tried using the commands
brew install tbb
The code uses C++ ifdef HAVE_TBB flag to define what part to compile.
When I ran the code, the compiler doesn't recognize this flag, running without TBB.
Can anyone help me, how should I compile TBB correctly to make this possible?
I tried everything that I had found at this forum, stackexchange, documentation and etc.
I'm using OS X 10.11.4, OpenCV 3.1, which was compiled correctly with -D WITH_TBB = ON, I had installed and linked tbb using homebrew and tried using the source code, compiling with makefile and linking the environment variables using the tbbvars.sh file.