简体   繁体   English

查找 Visual Studio PATH/LIB 文件时出现问题

[英]Problem with finding Visual Studio PATH/LIB files

I am using some application (PSSE-Environment Manager) which requires to interact with Visual Studio version 2015 to compile Fortran code into.dll folder.我正在使用一些应用程序(PSSE-Environment Manager),它需要与 Visual Studio 2015 版交互以将 Fortran 代码编译到 .dll 文件夹中。

When I run the application to perform the compilation, I get the following message:当我运行应用程序来执行编译时,我收到以下消息:

>  Installed Visual Studio versions:
>     14.0 (VS 2015), 14.0 (VS 2015)
> 
>  [32 bit] PATH/LIB files not found for Visual Studio 14.0 (VS 2015):
>      link.exe
>      mt.exe
>      rc.exe
>      rcdll.dll
>      vc.lib
>      kernel32.lib
> 
>  [64 bit] PATH/LIB files not found for Visual Studio 14.0 (VS 2015):
>      link.exe
>      mt.exe
>      rc.exe
>      rcdll.dll
>      vc.lib
>      kernel32.lib

What could have gone wrong?可能出了什么问题? Does anyone know where can I find the listed.exe and.lib folders?有谁知道在哪里可以找到 listed.exe 和 .lib 文件夹? And what are they used for?它们的用途是什么? And why weren't they found?为什么他们没有被发现? And are they installed by default with Visual Studio or do I need an additional package to install them?它们是默认与 Visual Studio 一起安装的,还是我需要额外的 package 来安装它们?

I'm using VS 2015 shell and XE Composer 2019. Installing Visual C++ Build Tools did the trick: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019我正在使用 VS 2015 shell 和 XE Composer 2019。安装 Visual C++ Build Tools 成功了: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019

Build Tools 2019 安装在 Visual Studio 安装程序中

It seems the missing link was the build tools (even though we are using fortran compiler and not C++ ), as Python requires the build tools to work with PSSE.似乎缺少的链接是构建工具(即使我们使用的是 fortran 编译器而不是 C++ ),因为 Python 需要构建工具才能与 PSSE 一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM