Reputation: 6452
I'm working with OpenCV 2.3.1 on VisualStudio 9 and when I compile my project, I've an error that I do not have the tbb.dll. But I don't need it since it gonna be an Android project in the future. Someone knows how can I disable the TBB when I compile ? I've seen the post but it seems not so relevant :s (http://stackoverflow.com/questions/7565089/how-to-disable-auto-link-for-tbb)
Thx
Upvotes: 2
Views: 2477
Reputation: 2341
First you can use cmake-gui (for windows) and re-compile opencv with the following option disable: -D WITH_TBB (=OFF)
On Windows, this option is maybe called USE_TBB
.
Second, if you just want to compile your program without using TBB, you need to give the same option if the compiling rule in VS9. I don't now VS so I can just give you the option name.
Upvotes: 2