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

error #10037: could not find 'link'

Joaquin_S_
Novice
2,014 Views

Building a Fortran code in VS 2019 and oneAPI, I get this error: error #10037: could not find 'link'

 

Previous posts are not helpful (link in accepted solution is broken). Already checked Desktop development with C++ is installed in Visual Studio and reinstalled oneAPI.

 

Any other ideas?

0 Kudos
2 Replies
jimdempseyatthecove
Honored Contributor III
2,008 Views

As a test, launch the oneAPI command indow (CMD). This should provide an environment defined foe MS VS together with Intel OneAPI.

In the CMD window enter

 

    link /?

 

Expect the MS VS linker to list out its command line options.

 

If you receive an error message: 'link' is not recognized...

then the environment for MS VS is broken. 

 

Can you build and run an MS VS C++ "Hello World"?

 

Jim Dempsey

0 Kudos
Ron_Green
Moderator
1,972 Views

TLI

This is a build from within VS? or a build from command line with a oneAPI Command Prompt for Intel64 (or ia32?)

 

Existing project that you brought over from another system, got from the web?  From where does did this Soln and VFProj come?

IF ( existing_project) print*, "what VS and compiler did you build on previously?"

 

Have you created a new Porject, a Hello World project, and just comfirmed that your VS + Intel Fortran is working?  To me that should be test #1. 

 

to summarize - how do you know, or have you confirmed, it's the compiler+VS and not your project?

0 Kudos
Reply