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

error LNK2001: unresolved external symbol _fltused

krishnabc
Beginner
5,139 Views

Hello,

I am having the above error and several others (also shown in the attachment) when compiling one of the projects in DEBUG mode. However, the compilation in RELEASE mode goes well.

Appreciate your suggestions.

VS 2008, IVF 12 update 3, Win 7 32 and 64 bit OS.

Thanks in advance.
Krishna

0 Kudos
2 Replies
mecej4
Honored Contributor III
5,139 Views
This problem usually arises when an attempt is made to link one or more objects and/or libraries with recorded dependencies on LIBCMT.LIB (usually the result of using /MT as a compiler option) but a C-runtime library such as MSVCRT.LIB is used instead (which is pertinent to compiling with /MD).

Resolution: make sure that all objects and user libraries that participate in the link are compiled with the same /Mx option. Failing this, produce a linker map and pin down the specific objects/libraries that call out the missing symbols.
0 Kudos
krishnabc
Beginner
5,139 Views
Thank you very much mecej4. Finally, I resolved it.
0 Kudos
Reply