'LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

Prasrit Kumar picture Prasrit Kumar · Sep 19, 2014 · Viewed 24.6k times · Source

I am using visual studio 2012.i got the error

LNK1112: module machine type 'x64' conflicts with target machine type
'X86'highgui248d.lib(opencv_highgui248d.dll)' while building a win32 
console application.

I have tried modifying the property to match with my open_cv application requirement.

Answer

Sndn picture Sndn · Mar 15, 2015

Here's the answer for your issue. Probably you need to change the platform in Build configuration manager https://stackoverflow.com/a/4364020/3724463