Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
공지
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.

Error: Interface not registered

sd104400
초급자
4,952 조회수

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 포인트
14 응답
mecej4
명예로운 기여자 III
4,919 조회수

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

0 포인트
sd104400
초급자
4,900 조회수

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

0 포인트
Livy
초급자
4,847 조회수

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

0 포인트
cean
새로운 기여자 II
4,710 조회수

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.

 

0 포인트
cean
새로운 기여자 II
4,692 조회수

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 ==========
0 포인트
Steve_Lionel
명예로운 기여자 III
4,642 조회수

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

cean
새로운 기여자 II
4,634 조회수

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

fatal error LNK1104: cannot open file 'ifconsol.lib'
0 포인트
Steve_Lionel
명예로운 기여자 III
4,594 조회수

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

0 포인트
cean
새로운 기여자 II
4,579 조회수

After reset, still can't open that lib.

Here is my Libraries setting:

lib.jpg

0 포인트
cean
새로운 기여자 II
4,570 조회수

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

0 포인트
Jarek_T
초보자
2,960 조회수

I have the same issue after updating to the newest fortran version (w_fortran-compiler_p_2024.0.0.49492). I uninstalled and reinstalled fortran and VS, started new projects from scratch, etc. but nothing seems to work. 

0 포인트
Jarek_T
초보자
2,843 조회수

I got the issue resolved. The problem was with settings on my work computer. Installation using "elevated rights" (whatever they are) completed but did not work right, while uninstalling Fortran and installing it using full admin rights worked correctly. 

0 포인트
Barbara_P_Intel
2,903 조회수

Uninstall Fortran and VS. 

When you reinstall make sure you install VS first. These VS tips still apply with the latest release. Then install Fortran.

If you still have problems, please start a new thread. This one is >2 years old.

 

0 포인트
JohnNichols
소중한 기여자 III
2,837 조회수

@Barbara_P_Intel 

 

This note is for every one except Al, Al please stop reading and return to your EIW,  extremely important work. 

LOL a 2 yr old bottle of port is almost undrinkable, it needs to be at least 21 yrs old, so a 2 yr old thread is ok in some schools of thought.   Thanks for the tips, I find if you just accept the continue prompts on VS and IFORT at the install it works ok, I wonder what others do to make it work not right, although a good IT specialist can lock down a computer so tight even a gnat has trouble if you understand the idiom, but then again gnat should be spelt knat.  As I once told our IT specialist leader, remove 8 screws, install a clean hard drive and then put on software and the work problems disappear.   Minor argument took place, then I explained it was no different to a student computer.   Of course JDNGC

Merry Christmas to all and sundry and Al if he got this far, then that is his decision I warned him.  

The only good work computer is a dead work computer.  

John

0 포인트
응답