maskkid / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Failed to compile on Windows 8 64bit machine #150

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. After I referenced all the necessary dll from openwebkitsharp2.9 and try to 
compile.

What is the expected output? What do you see instead?
Here's the error message I got after compiled.

"There was a mismatch between the processor architecture of the project being 
built "MSIL" and the processor architecture of the reference "JSCore, 
Version=1.0.1.2, Culture=neutral, PublicKeyToken=d6b823da6d3fa04b, 
processorArchitecture=x86", "x86". This mismatch may cause runtime failures. 
Please consider changing the targeted processor architecture of your project 
through the Configuration Manager so as to align the processor architectures 
between your project and references, or take a dependency on references with a 
processor architecture that matches the targeted processor architecture of your 
project. OpenWebkit_1"

What version of the product are you using? On what operating system?
I'm using visual studio 2012, Windows 8 64bit.

Please provide any additional information below.

Original issue reported on code.google.com by roylee0...@gmail.com on 1 Nov 2012 at 2:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Its ok I solved it by re-targeting my processor architecture to x86.
All worked out finally :)

But,
I've got warnings like:

"

Warning 1   A reference was created to embedded interop assembly 
'd:\user\roy\Dropbox\My Task\VIknes\Form Designer\Side Sources\OpenWebKitSharp 
2.9 stable\Binary\WebKit.Interop.dll' because of an indirect reference to that 
assembly created by assembly 'd:\user\roy\Dropbox\My Task\VIknes\Form 
Designer\Side Sources\OpenWebKitSharp 2.9 stable\WebKit\JSCore.dll'. Consider 
changing the 'Embed Interop Types' property on either 
assembly.   D:\user\roy\Dropbox\Code\Visual Studio 
2012\Projects\OpenWebkit_Test\OpenWebkit_Test\CSC   OpenWebkit_Test
"

Any idea to lose this warning?

Original comment by roylee0...@gmail.com on 1 Nov 2012 at 3:30

GoogleCodeExporter commented 9 years ago
This is more of a message rather than a warning. It just informs you that it 
automatically added a reference to a DLL on which OpenWebKitSharp is dependant. 
Therefore, there is no further action needed. In case you have problems using 
Classes from WebKit.Interop, change its Embed Interop Types property from the 
reference.

Original comment by tsumalis96@gmail.com on 1 Nov 2012 at 8:45