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

VS2008 lib link problem using Intel Fortran

Ralph_Nelson
Novice
3,156 Views
It has been a year+ since I've worked with the Intel Fortran compiler using VS2008 and I think I've forgotten everything I once knew so forgive my ignorance.

Programs and subroutines compile OK for my application but am getting a link error to "libcmtd.lib" as follows:
"D:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\lib\\LIBCMTD.lib : fatal error LNK1136: invalid or corrupt file"

Would appear to me that it is looking into VC (C compiler stuff?) and not the Intel Fortran libary? I probably don't have a pointer to the library set correctly but suggestions/corrections would be greatly apprecriated.
0 Kudos
25 Replies
Ralph_Nelson
Novice
518 Views
Will one of the lib under MKL package fit the bill? If so which?
0 Kudos
Steven_L_Intel1
Employee
518 Views
MKL doesn't have routines with the same names, but it might have some that do the same thing. I suggest asking in the MKL forum section for advice there.
0 Kudos
SergeyKostrov
Valued Contributor II
518 Views
...When I go look at D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib\amd64\LIBCMT.lib it is of length zero so therein lies the problem of course.

Repair of VS didn't solve the problem. Should I remove Fortran compiler and VS2008 then reinstall or is there an easier way.


On Windows Update there are Service Packs for all known Visual Studios (2005,2008, 2010, etc )These SPs
could detect problems like "some file is corrupted". You could try it next time if the problem comes back.

0 Kudos
Ralph_Nelson
Novice
518 Views
Serg,

Apprecriate the attachment. The reinstall of VS fixed my problems and it has updated itself to latest SP. I will try the use of the SPs next time since to cleanly uninstall then reinstall is very time comsuming.
0 Kudos
Ralph_Nelson
Novice
518 Views
Steve,

You've help fix this problem. I consider the thread finished.


-ralph
0 Kudos
Reply