- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just installed VS 2005 Pro and Intel Fortran Compiler 10.1 Professional Edition. I had CVF 6.0 before. My m/c runs Win-XP x64.
I opened up a project from CVF 6.0 and then extracted the Compaq Visual Fortran Project Items. Compilation proceeded without a problem. While linking though, I get this error:
Error 1 fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' x64Release/ion_tables_new.obj
I checked up this forum for help on the above topic. I did find another thread relevant to this (http://software.intel.com/en-us/forums/showthread.php?t=58455). As mentioned in the thread, I have not modified the directories.
Any advice on what I might possibly be doing wrong?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This reads as if you are somehow mixing the x64 compiler with the 32-bit linker. Did you do a custom install of VS2005 to select the x64 Compiler and Tools option? Did you create an "x64" solution configuration? See reply 3 in the thread you linked to for instructions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This reads as if you are somehow mixing the x64 compiler with the 32-bit linker. Did you do a custom install of VS2005 to select the x64 Compiler and Tools option? Did you create an "x64" solution configuration? See reply 3 in the thread you linked to for instructions.
I did a "Full" installation.I am assumingthis would have installed the x64 Compiler and Tools also.
Yes, Ihad already created a "x64" solution configuration in the Configuration Manager (same procedure as in the instructions you alluded to).
On going through the .dsp file from CVF (and searching for /machine:x86), I found the following:
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
I removed /machine:I386 from the .dsp file; loaded the project file again; extracted the Fortran Visual Project Items and then compiled (using the x64 option) and it worked fine. Looks like it is the /machine:I386 which caused the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah, yes. That would do it. Assuming that fixed the problem, then indeed you have the x64 support installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page