- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using Visual Studio Professional 2012 and Intel Visual Fortran Composer XE 2013 SP1, I get "fatal error LNK1104: cannot open file 'LIBCMTD.lib'" when trying to build a solution.
I have 'LIBCMTD.lib' in directory C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64 and the x64 Libraries has "$(VCInstallDir)lib\amd64" where $(VCInstallDir) has value C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC.
What am I missing?
Thanks, John
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you building 32-bit or 64-bit objects? The directories that you listed are for the 64-bit versions of the C libraries. Do you have corresponding 32-bit libraries?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please do this - set this option to True in Tools > Options:
(This is showing the screen for the 2015 product - for 2013 SP1, look for "Intel Composer XE" instead of "Intel Compiler and Tools".)
Do another build. Create a ZIP of the buildlog.htm from the failed build and attach it here. This will help us understand where the problem might be. There should be a LIBCMTD.LIB in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib as well as in the folder you found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve, I did not have "LIBCMTD.lib" in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib, there was only one in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64. I compared my C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib directory with another coworker whose Intel Fortran works, my C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib is missing many files.
If I add LIBCMTD.lib from the other coworkers Intel Fortran that works to C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib then there is another file which cannot be linked. Here is the C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib directory which I had after installation of Visual Studio 12 and Intel Visual Fortran Composer XE 2013 SP1. Where do I get the rest of the files? Attached is the buildlog.htm from this setup. Thanks, John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to reinstall or repair your Visual Studio 2012, then, as you've lost the 32-bit Visual C++ support. This is required by Intel Fortran (if you're not using our bundled VS2010 Shell and libraries.)

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