Setting Target Machine flag to x64

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
Im compiling some sample code that came with an x64 library (built in VS 2010) in VS 2012, and I encounter this error:

<pre class="prettyprint fatal error LNK1112: module machine type x64 conflicts with target machine type X86[/code]
Im following the instructions given on MSDN to make sure my project is set up for x64. I noticed that the target machine flag under linker options is still set to x86 (/MACHINE:x86). When I change this property to x64 and click apply, it changes back
to x86. Is this a bug in Visual Studio, or is there some property or problem elsewhere forcing the flag back to x86?
Thanks in advance!

View the full article
 
Back
Top