eiffel - 如何使用 EiffelStudio 进行编译?VD43 预编译文件丢失或无法读取 (...)/driver.exe - 外部 C 编译失败
问题描述
安装 EiffelStudio 后,我无法编译和运行任何项目,因为我总是收到 VD43 警告和 C 编译器错误。
2 VD43 Precompiled file is missing or unreadable. File 'c:\users\username\documents\eiffel user files\19.05\precomp\spec\win64\EIFGENs\base-scoop-safe\W_code\msc_vc140\driver.exe'.
1 C Compiler Error Please review the External Compilation output of the Outputs Tool.
Error code: C Compiler Error
Error: External C/C++ compilation failed.
What to do: Check the external C/C++ compilation for details.
Please review the External Compilation output of the Outputs Tool.
我找到了这个页面:https ://www.eiffel.org/doc/version/trunk/faq/FAQ 。必须另外定义键 ISE_C_COMPILER 才能使 EiffelStudio 正常工作。但是如何“告诉 EiffelStudio 使用 Visual Studio 2017 兼容库”呢?我尝试将其设置为环境变量,并更改 compile_library.bat 和 esvars.bat,以便在每个地方都是set ISE_C_COMPILER=msc_vc140
. 我还在 EiffelStudio GUI 上的 Project->Project Settings->Target:project->Advanced->Variables 下添加了变量 ISE_C_COMPILER - msc_vc140
我删除了所有项目和 precomp 文件夹。我跑espawn -l
只是为了验证我有好的 c++ 编译器:
Available C/C++ compilers:
VC160: Microsoft Visual Studio 2019 VC++ (19.0)
VC150: Microsoft Visual Studio 2017 VC++ (15.0)
对我来说,似乎我安装了所有东西并设置了每个变量,但它仍然给我同样的警告和错误。
解决方案
推荐阅读
- node.js - 获取 vuetify.js 复选框选中的值
- google-chrome - NVDA + Chrome 没有读取我网站的一部分
- google-cloud-platform - 无法在 GCP 中选择个人帐户类型
- javascript - 如何在 HTLM5 中跟随光标/手指绘制动态线
- triggers - Tumbling Window Trigger 取消过去的执行 Azure 数据工厂
- javascript - 程序给出一个点的距离
- laravel - Laravel fortify,如果用户不活跃,则阻止用户登录
- qt - 如何为 QObject 类创建接口
- wordpress - wordpress 主题中的 Grunt uncss
- javascript - 从 local.properties 获取值并在 .tag 和 .jsp 文件中使用它