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.
29280 Discussions

Problem linking Fortran Compilers in Visual Studio

sihaqqi
Novice
2,404 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

 

0 Kudos
10 Replies
mecej4
Honored Contributor III
2,378 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
2,362 Views

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

 

 

0 Kudos
Barbara_P_Intel
Employee
2,350 Views

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

sihaqqi
Novice
2,329 Views

I have installed all C++ components. 

0 Kudos
Steve_Lionel
Honored Contributor III
2,344 Views

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

0 Kudos
sihaqqi
Novice
2,329 Views

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

0 Kudos
sihaqqi
Novice
2,236 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
2,227 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
2,226 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
2,203 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