Platform mismatched

Ask question on using Emgu CV with C#
Post Reply
Posts: 1
Joined: Mon Sep 19, 2011 1:20 pm

Platform mismatched

Post by hoangvinh » Mon Sep 19, 2011 1:25 pm

when i compile example code. i get error: "CLR it 64 bit, C++ code is 32 bit. Please consider recompling the executable with the same platform target as c++ code.

who can help me?? :( :( :(

Posts: 573
Joined: Tue Sep 20, 2011 3:29 pm

Re: Platform mismatched

Post by Chris_Johnson » Thu Sep 22, 2011 8:10 am


You are simply compiling an x86 EMGU library to x64 architecture. Go to your project settings properties.... Menu item Project>"Solution name" properties or right clisk on your project file in solution explorer and select properties.

A new window will open with a ribbon bar on the left. Select the build tab and change the dropdown Platform Target: box to x86 also check the Platform: target at the top of this panel.

If you need more help at setting up EMGU have a look at this article: ... ssing.aspx

Hope this helps,

Post Reply