Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Error: Interface not registered

sd104400
Beginner
1,115 Views

Hi,

I have this error when I tried to build/debug a Fortran file in Visual Studio 2019 I just installed. Nothing else is reported. I also tried "ifort" in command and it works, but not in VS.

In the VS Options, the right Fortran compilers for Win32 and x64 are selected. 

Does anyone know what the error means? Thanks!

 

Lang

 

0 Kudos
10 Replies
mecej4
Black Belt
1,082 Views

Did you install VS2019 first and then Intel Fortran, as is required for the VS-IF integration to work, or in some other order? 

sd104400
Beginner
1,063 Views

I think I followed that order.  I also checked with intel oneAPI installer, and VS 2019 is integrated. Thanks.

Livy
Beginner
1,010 Views

i have the same error. Please, contacte me if someone knows how to solve.

cean
New Contributor I
873 Views

I have the same issue.

Just changed from 17 to 19 and updated the 2021.4 Fortran.

When build my old project, this comes up.

 

cean
New Contributor I
855 Views

When I try to build a MKL example, this is the error message:

Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" failed.
Compiler: ifort 
Build flags: 
Id flags:  

The output was:
1

Microsoft Visual Studio 2019 Version 16.11.4.
Copyright (C) Microsoft Corp. All rights reserved.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load.
Build started...
1>Error: Interface not registered
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Steve_Lionel
Black Belt Retired Employee
805 Views

I've seen this occasionally over the years. Uninstall and reinstall the compiler.

cean
New Contributor I
797 Views

I did a Repair. Now I can compile my program, but says: 

fatal error LNK1104: cannot open file 'ifconsol.lib'
Steve_Lionel
Black Belt Retired Employee
757 Views

A repair might not have fixed everything. It now seems that you don't have library paths set up properly. Go to the following Tools > Options page and click Reset. Click on the x64 tab and click Reset there too, then click OK.

Screenshot 2021-10-10 114748.png

cean
New Contributor I
742 Views

After reset, still can't open that lib.

Here is my Libraries setting:

lib.jpg

cean
New Contributor I
733 Views

I uninstalled and reinstalled the compiler. It works now. Thank you very much.

Reply