Ask Your Question
0

error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' - (opencv_highgui249d.dll)

asked 2014-06-03 11:02:20 -0600

Shan Ali Khan gravatar image

Hi ,

Im trying to setup the opencv for c++ in visual studio i have completed setting it up. when i run the sample code i get the error as

error LNK1112: module machine type 'X86' conflicts with target machine type 'x64 C++\FinalPro\FinalPro\opencv_highgui249d.lib(opencv_highgui249d.dll)

I have set also x64 instead of win32 default but still its not working the lib of open cv are all 64bit

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-20 14:54:48 -0600

Hi.

I stumbled upon I think the same problem today, and solved it. Here is the page that helped me: http://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ

Follow the first answer as it is, in the order it is stated.

Hope this helps.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-03 11:02:20 -0600

Seen: 28,130 times

Last updated: Jul 20 '14