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

Problem linking Fortran Compilers in Visual Studio

sihaqqi
Novice
1,994 Views

Hi,

I am having issues linking Fortran Compilers in Visual Studio. I have tried to manually go in Windows Kits and copied paths to libraries. I have installed Visual Studio numerous times but to no avail. Can anyone help?

Regards

 

(Virus scan in progress ...)
(Virus scan in progress ...)
(Virus scan in progress ...)
0 Kudos
10 Replies
mecej4
Honored Contributor III
1,968 Views

Please describe what the issues are! The two screenshots show only some Visual Studio settings.

If you were not able to build an EXE inside Visual Studio, please attach a zip file containing the build-log of the failed build.

0 Kudos
sihaqqi
Novice
1,952 Views

I have attached a Console2.rar file. It has fortran source code and BuildLog file which I have attached separately also.

 

 

(Virus scan in progress ...)
(Virus scan in progress ...)
0 Kudos
Barbara_P_Intel
Employee
1,940 Views

With Visual Studio (VS) did you install the desktop development with C++ component? See this article for more information.

sihaqqi
Novice
1,919 Views

I have installed all C++ components. 

0 Kudos
Steve_Lionel
Honored Contributor III
1,934 Views

Isn't this the compatibility issue with the latest VS update?

0 Kudos
sihaqqi
Novice
1,919 Views

I am using current VS available on the website, current SDK, and latest Fortran compilers.

0 Kudos
sihaqqi
Novice
1,826 Views

I have recently installed latest one API version 2023.2 and Visual Studio 17.7. I have manually added all library directories again. Somehow the linker is not connecting all directories with the fortran program. Initially I get missing library error. After manually defining the path of all library folder. Now I am getting heaps of errors. This is done automatically during installation. I would appreciate guidance that can lead to resolution of this issue.

0 Kudos
Steve_Lionel
Honored Contributor III
1,817 Views

There is a known problem with VS 17.7 in this area, which Microsoft broke between Preview and Release for this version. Intel is aware and has a fix in progress.

JohnNichols
Valued Contributor III
1,816 Views

Install the old VS 2019 and it reinstall one api to connect them and you will be on your way. 

Some times the surfboard is broken and you need to use an old board, 

sihaqqi
Novice
1,793 Views

Problem resolved; however, libmmdd stays missing. for every project, I have to specify the path manually. Also, program exits with code 0. I have to press Ctrl+F5 to keep the output console open to view the result.

Still, thanks everyone.

0 Kudos
Reply