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

error 10037

Sam_Cable
Beginner
608 Views
Very basic question here. I know there's alot of documentation out there, but I still can't find what I need. So, asking your patience ...

I have just installed Intel FORTRAN on an ia-32 machine that does not have Microsoft Visual Studio. I was under the impression that I would be able to at least run from the command line, even without Vis. Studio.

I tried to compile a simple test program. Got the object file OK, but then got error #10037: can't find "link".

Running ifortvars.bat didn't help. It gave me another error about not recognizing some command or other. (Sorry, I am not sitting at the machine I was working on. DOn't have the error in front of me.)

So, anyway, questions: 1) Was I wrong, and I have to have Visual Studio to run, even from the command line? and 2) If there is a way to fix this, short of installing Vis. Studio, anybody know what it might be?

Thanks!
0 Kudos
2 Replies
mecej4
Honored Contributor III
608 Views
Intel Fortran requires some tools (such as LINK.EXE) and libraries (C and OS libraries) to function. These tools may be part of an installation of Visual Studio, a Platform/Windows SDK of roughly the same vintage as the Intel compiler, or an installation of Visual C++ Express. The last two are available from Microsoft and do not involve any license fees, but one of them must be installed, and registration with Microsoft may be required.

If you have none of these Microsoft packages installed, Intel Fortran cannot produce executables or libraries. That this is the case is clearly documented in the release notes and installation instructions.
0 Kudos
Steven_L_Intel1
Employee
608 Views
You do need Microsoft Visual Studio installed, even for command line use. The appropriate bits are included in the product - you have to install the download that has a simple suffix of .exe - not _IA32.exe or _novsshell.exe.

As an alternative, you can install Microsoft Visual C++ 2008 Express Edition (2010 will not work at present), then reinstall Fortran. Then you should be able to do 32-bit development from the command line. You will also need the Microsoft Windows SDK (formerly called Platform SDK).
0 Kudos
Reply