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

Debug function Visual Studio 2008 disabled

sebamo
Beginner
473 Views
Hallo together,

I'm only a beginner in programming and compiling fortran programs and subroutines. Having opened a fortran code in Visual Studio 2008 the debug function is disabled and clicking F5 is not working either. What did I forget or not see?

If I want to compile my program within the command window of the Intel Visual Fortran Compiler 10.1.019, I get the error message LNK1104 that the file bufferoverflowu.lib couldn't be opened. I'm sure that this affects other library files, too.

My OS is a 64bit Windows 7.

Thanks for your help
0 Kudos
2 Replies
mecej4
Honored Contributor III
473 Views
Merely opening a source file in Visual Studio may not allow compiling it. You have to create a new project (or open an existing one) and add the file to the project first.

Certain versions of Visual Studio and/or the Microsoft Platform/Windows SDK set the /GS option by default and had corresponding references in the C libraries that Intel Fortran uses. Some of these SDKs had bufferoverflowU.lib as a separate library, and others did not.

You may need to find which library or object is responsible for the references to bufferoverflowU.lib.

If you have further questions, please state the versions of compiler/VS/SDK/Windows that you use.
0 Kudos
TimP
Honored Contributor III
473 Views
If you use an obsolete version which tries to link bufferflowu.lib, it's your responsbility to supply the /link /nodefaultlib: specification.
0 Kudos
Reply