 <p>You might need to change </p> <pre><code>-lopencv_core244 \ -lopencv_highgui244 \ -lopencv_imgproc244 </code></pre> <p>to</p> <pre><code>-lopencv_core244d \ -lopencv_highgui244d \ -lopencv_imgproc244d </code></pre> <ul> <li>note 'd' at the end of each lib (if you are to build in debug)</li> </ul>