setUseOptimized()

asked 2019-11-21 10:54:17 -0600

VxW gravatar image

Hi,

I've a simple question concerning setUseOptimized() function.

I'm working with Visual Studio17 and Opencv3.4.2 (I know I have to upgrade it ;) ), and I have a Solution with around 5 projects (exe, dll, libs). Should I call setUseOptimized(true) only in one or in all projects. Where is this global flag visible?

Many thanks

edit retag flag offensive close merge delete

Comments

You'll need set it as a global variable in the top level of your application : Check documentation here: setUseOptimized()

Ziri gravatar imageZiri ( 2019-11-21 18:15:14 -0600 )edit

Hi,

yes I know the documentation. Hovever, when I have two applications (two projects) in one Solution file, have I set it in both or not.

VxW gravatar imageVxW ( 2019-11-22 01:58:35 -0600 )edit