Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
11 Views

error #10037 could not find 'link' VS 2015 Enterprise & parallel_studio_xe_2017_update2

So here is the story: I started by installing visual studio 2017 enterprise, when I found out that visual fortran cannot be integrated with that version. So while keeping this version, I installed visual studio 2015 enterprise and then "parallel_studio_xe_2017_update2". I have installed all C++ components while installing visual studio.

Then I tried a simple console project (Hello World) in visual studio and I get this error: " error #10037 could not find 'link' "

I rechecked visual studio installation and all visual C++ components (under programming languages) are already installed. Also in ifortvars.bat file I found this command: <if /i "%1"=="vs2015"       (set TARGET_VS=vs2015)> which I suppose has something to do with integration.

Can anyone suggest a solution? Thanks a lot!

 

0 Kudos
5 Replies
Black Belt Retired Employee
11 Views

In a Fortran command-line

In a Fortran command-line environment, with the current directory set to a writable one, do a:

set path > path.txt

and attach path.txt to a reply here. This will give us some clue as to what may be happening.  Please also copy and paste ALL of the text displayed from the time you open the command prompt window until you get the prompt.

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Black Belt
11 Views

(I think = should be >)

(I think = should be >)

0 Kudos
Highlighted
Black Belt Retired Employee
11 Views

Sorry, yes.... Will fix.

Sorry, yes.... Will fix.

--
Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos
Highlighted
Beginner
11 Views

Hi again, and thanks for your

Hi again, and thanks for your replies. Down I have attached the content of the txt file. However, the problem was solved by uninstalling VS 2017, VS 2015 and parallel_studio, and then installing VS 2015 and parallel_studio again (skipping VS 2017 for now!)

Thanks again for your help.

Here is the content of path.txt:

Path=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\mpi\intel64\bin;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
C:\Program Files (x86)\Xoreax\IncrediBuild;
C:\Users\Me\.dnx\bin;
C:\Program Files\Microsoft DNX\Dnvm\;
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;
C:\Users\Me\AppData\Local\Microsoft\WindowsApps
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

0 Kudos
Highlighted
Employee
11 Views

We apologize for the

We apologize for the installation issues you experienced. I'm glad to hear you resolved them. Just FYI, not suggesting you undo your working setup now. The PSXE 2017 Update 4 was just released which provides support for MSVS 2017 if/when your interested.

0 Kudos