Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Building on x64

Kipling__Michael
Beginner
784 Views

My pc OS was recently upgraded to XP Pro x64 v2003 SP2.

I am using VS2005 with Intel compiler 11.1.3471.2005.

When trying to build a solution which used to work fine on win32 I am having the following problems:

With Solution set to Release and Solution Platform set to Win32 and Linker/Advanced/Target Machine property set to either Not Set or MachineX86 I get the following error message : error #10037: could not find link.

With Solution set to Release and Solution Platform set to x64 and Linker/Advanced/Target Machine property set to either Not Set or MachineX86 I get the following error message : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'.

Any suggestions on how to successfully build?

Can I build for 32-bit as well as 64-bit systems?

Thanks,

Mike

0 Kudos
5 Replies
Kipling__Michael
Beginner
784 Views
BTW this is the IMSL version of the compiler.

Mike
0 Kudos
jimdempseyatthecove
Honored Contributor III
784 Views
Try building an MS VC++ "Hello World" app (32-bit and 64-bit)

If that does not work, then VS is goofed up.

If that works, then uninstall IVF, re-boot, re-install IVF.

I have VS 2005, XP Pro x64 and can build and run both 32-bit and 64-bit applications.

Jim Dempsey
0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
784 Views
Mike,

It sounds like you may have installed a version of the compiler that had only one architecture version of the compiler. Be sure to download and install the package without either IA32 or intel64 in its name to make sure you have both. Also you will need to look at your project settings to make sure they are compatibley with the OS you have. If you have a 64 bit OS you should be able to compile and run both IA32 and Intel 64. If you have a 32 bit OS (even if it is on a 64 bit processor) you can compile Intel 64 but not run it.



------

Wendy

Attaching or including files in a post

0 Kudos
Kipling__Michael
Beginner
784 Views
My problem with not finding the linker was resolved after re-installing IVF and VS.

The problem with not being able to build successfully was solved by setting the project linker property Advanced/Target Machine to "Not Set" and removing /MACHINE:IX86 from the Linker/Command Line/Additional Options.

Thanks

Mike
0 Kudos
Wendy_Doerner__Intel
Valued Contributor I
784 Views
Mike,

Thanks for following up with the solution.

------

Wendy

Attaching or including files in a post

0 Kudos
Reply