- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In looking over the available documentation, if one only wants to run the compiler in command line interface only (e.g. console applications), it appears that Visual Studio has to be installed with the C++ files from Microsoft?
Or is there a way to set up the Fortran compiler on a Windows 10 PC (for CLI interface only) without loading VS?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not that I know of, but you don't have to use VS and can do builds and run from the command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Somewhere we had a document on installing the Microsoft Visual Studio Build Tools with C++ Component followed by installing Intel Fortran. I can't find that article but it might be online somewhere. This allows command line usage without installing the full Visual Studio IDE. But doing so only allows you to use ifx directly, or DEVENV. You cannot use the MSBuild to build a project from the command line with this limited set of VS Tools. Refer to this Forum Post for MSBuild not available.
The general process is to first install the Visual Studio Build Tools. During installation you must select installation of C++ components. After that is installed install Intel Fortran. The download for VS Build Tools is on THIS page. Open the "Tools for Visual Studio" group, at the bottom of which is "Build Tools for Visual Studio" download. Remember during the installation to select to install C++ components.
You can refer to some recent posts on this topic in this forum, such as https://community.intel.com/t5/Intel-Fortran-Compiler/2024-Fortran-Compiler-with-Visual-Studio-Build-Tools/td-p/1559581
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some time ago I tried the "Build Tools" method Ron mentions, but I could not even get ifort to install. Maybe it works better now.

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