Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

fatal error LNK1104: cannot open file 'ifconsol.lib'

$
0
0

I recently came up with this error while compiling a code:

fatal error LNK1104: cannot open file 'ifconsol.lib'

This error was listed in a post from 2006 (http://software.intel.com/en-us/forums/topic/275853 ) and it seems to be the same kind of problem but I am using different tools and not sure how to fix it. Here is what's happening:

Someone from another company developed a code (as a DLL) using Intel Fortran 12.1 with Fortran 2003 standards. He was able to compile it using both Microsoft Visual Studio 2008 and 2010.

I took over the code and tried to compile with the latest version of Fortran (XE 2013) and Microsoft Visual Studio 2008. After having this error problem I checked and the library is available and in the correct directory. I do not know how to make the Makefile visible in Visual Studio but I tried to change some options without success. Then I tried to change the platform from Win32 to x64 (under the "buid" tab) to see what happens when compiling in 64 bits.

The compilation worked and I was able to run the code and compare the results (which were similar up to the 8th digit so within accuracy range).

I can use the 64 bits version and am happy with it, but does anyone have an idea on why the compilation does not work for 32 bits ?

Thanks

Cedric


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>