Linker problem

Hi I am trying to get the hdf5 API to work with visual studio 2010 express edition and have an error when compiling the code:

1>hdf5_cppdll.lib(hdf5_cppdll.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

I thought this meant that there is a platform error, so I went into the projects manager and decided to change from 32bit to 64bit. I select the configuration manager and go to the drop down for platform and only Win32 is available.

I ran the installation for visual studio again but did not see any option for installing a 64bit component.

Thanks
x64 compilers comes with windows sdk (unless you are using payed for versions of Visual Studio, for example Ultimate edition already comes with the sdk and x64/ia64 compilers)
Did you click "New" in the platform dropdown?
Yes I did, I have done some more research and found a post on msdn that says that x64 is not included in express edition.
I already told you that x64 compilers comes with windows sdk (for free), why don't you read ?

64-bit tools are not available on Visual C++ Express by default. To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express. Otherwise, an error occurs when you attempt to configure a project to target a 64-bit platform using Visual C++ Express.


Reference link:
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx

http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express
Thanks modoran, I read but I found conflicting post on the Microsoft forum. That is what lead to my confusion. Thanks for the link much appreciated.
Topic archived. No new replies allowed.