Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

Make MS VS2022 use Fortran 2023 (installed before VS2022)

PC1967
Novice
858 Views

Hello, 

I was using Intel Fortran under VS2019 without issues. Installs order was 1) VS2019 and 2) Fortran 2023 (Base and HPC) compiler.

Recently, I installed VS2022 and removed VS2019. The Fortran project (via *.sln) is now not recognized with error "The project type may not be installed or this version of VS may not support them". If the primer, how do I tell VS2022 that Fortran is installed (i.e. was installed earlier)?

Thanks.

Labels (1)
0 Kudos
3 Replies
Devorah_H_Intel
Moderator
823 Views

I suggest first repairing the VS 2022 installation. Make sure the Desktop development with C++ component is selected under individual VS components.

Then, repair Intel Base/HPC Toolkits installations.

Intel Compilers should be listed when checking Help>About Microsoft Visual Studio inside Visual Studio

0 Kudos
PC1967
Novice
797 Views

Thanks. Yes, C++ is there (as I also develop code in that language).

After my post I duplicated the 'Intel OneAPI prompt ... 2019' short-cut changing the 2019 argument into 2022. I ran it and it looked like doing its things without error (VS was off at the time). Still, nothing about Intel found under Help/About VS.

Let me try repairing the 2023 OneAPI installs. 

PC1967
Novice
789 Views

Repair did not do it. Let me install latest versions of Base/HCP.

0 Kudos
Reply