Platform mismatched

Ask question on using Emgu CV with C#

Platform mismatched

Postby 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?? :( :( :(
hoangvinh
 
Posts: 1
Joined: Mon Sep 19, 2011 1:20 pm

Re: Platform mismatched

Postby Chris_Johnson » Thu Sep 22, 2011 8:10 am

Hi,

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:

http://www.codeproject.com/KB/cs/EMGU_I ... ssing.aspx

Hope this helps,
Cheers
Chris
Chris_Johnson
 
Posts: 548
Joined: Tue Sep 20, 2011 3:29 pm


Return to C# Help

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 7 guests