<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I would like to build <i>opencv</i> with debug symbols and with
possible minimum optimization (I need to debug it). In the <i>opencv</i>
recipe I haven't found any PACKAGECONFIG related to debugging. I
have tried to add</p>
<blockquote>
<p><i>EXTRA_OECMAKE_append = " -DCMAKE_BUILD_TYPE=Debug" </i><br>
</p>
</blockquote>
<p>in the recipe but it gives the error:</p>
<blockquote>
<p>ninja: error: 'TBB_ENV_LIB_DEBUG-NOTFOUND', needed by
'lib/libopencv_core.so.4.1.0', missing and no known rule to make
it</p>
</blockquote>
<p>Has anyone tried to build <i>opencv</i> in debug mode and could
share how it was achieved?</p>
<p>Regards,</p>
<p>Adrian Fiergolski<br>
</p>
</body>
</html>