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

VS2008 & IVF stopped working: cannot compile anymore

joerg_kuthe
Novice
552 Views

Hello:

For some unknown reason IVF doesn't compile any of the Fortran files in my IVF projects anymore. When I left my desk on Friday everything was working fine. I shut down my Windows 7 PC (Win7 Ultimate) and it might be that Windows installed some updates. And today I found myself stuck and not being able to use the compiler in VS2008.

If I try to compile or to re-build an IVF console project (both 32 & 64-bit), nothing happens, IFORT doesn't start and not a single error message is displayed.

If I try toto re-build an IVF project containing a resource file (.rc), again, IFORT doesn't start, but I can cause the resource compiler to launch and when linking I get the error message:
1>Linking...
1>LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
1>LINK : error LNK2001: unresolved external symbol _mainCRTStartup
1>Matfor3D.exe : fatal error LNK1120: 1 unresolved externals

I definitely haven't changed this project and it definitely generated an .exe without error.

I have installed both IVF v11.1.07 and v12.1.258 (32-bit and 64-bit variants) in VS2008 (Std. Ed.). V12.1 is also integrated in VS2010 (Prof. Ed.). My VS2010 solutions and .vfproj files still work. So far, I could use both VS editions on this PC concurrently without any problems.

I have checked the path settings (in Options | Intel Visual Fortran | Compilers), but did not see anything suspicious:

Executables directories list:
$(IFortInstallDir)bin\\ia32
$(CommonProgramFiles)\\Intel\\Shared Files\\Ia32\\Bin
$(VSInstallDir)Common7\\IDE
$(VCInstallDir)BIN
$(VSInstallDir)Common7\\Tools
$(VSInstallDir)Common7\\Tools\\bin
$(FrameworkDir)$(FrameworkVersion)
$(WindowsSdkDir)bin
$(PATH)

Libraries directories list:
$(IFortInstallDir)lib\\ia32
$(IFortInstallDir)mkl\\ia32\\lib
$(VCInstallDir)atlmfc\\lib
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDK\\lib
$(VCInstallDir)PlatformSDK\\lib\\x86
$(WindowsSdkDir)lib
E:\\Program Files (x86)\\AnCAD\\MATFOR4\\lib\\IF9
E:\\Program Files (x86)\\gino\\v7.5c

I can start IFORT 11.1 from the console (via Start | Intel ...|Fortran Build environment for ....)

I have not got a clue what happened to my machine. Can anyone help me to get me back to work? Thank you.

Kind regards,

Jrg Kuthe

0 Kudos
3 Replies
Steven_L_Intel1
Employee
552 Views
See here, Step 1, fourth bullet. That usually works.
0 Kudos
joerg_kuthe
Novice
552 Views

Thanks a lot Steve. That saved my day. I have no idea why these file endings disappeared.

Jrg

0 Kudos
Steven_L_Intel1
Employee
552 Views
Me neither. I have seen customers report this problem after installing a Fortran update, though we have never been able to pin it down. You say this was after doing some non-Fortran updates?
0 Kudos
Reply