opencv_highgui248d.lib Error LNK1112

asked 2014-01-21 04:18:41 -0500

Marco Gattuso gravatar image

updated 2014-01-21 04:19:15 -0500

Hi, i'm trying to run the code in openCv documentation link:(

When i compile the code, error LNK1112 appear on opencv_highgui248d.lib. I've also try to change target machine type to x64 but the code falls on error LNK2019

I use Pre-built Libraries of OpenCv on Windows7 and Visual Studio Express 2013

How can i fix it?

edit retag flag offensive close merge delete


It means that you have not set your debug libraries correctly in your VS environment! Be sure that you link them correctly trough your linker options like shown in this example guide for VS2012

StevenPuttemans gravatar imageStevenPuttemans ( 2014-01-23 06:39:40 -0500 )edit