atomicInstall找不到通过Chocolatey安装的mingw编译器 [英] atomsInstall can't find the mingw compiler installed through chocolatey
问题描述
下面是这个问题,我是我不太确定问题出在哪里,所以我为所有涉及的组件添加了标签.我正在尝试在Scilab中使用MinGw编译器.有一个mingw原子,应该由
Following this question, I'm not quite sure where the problem is so I add tags for all the components involved. I'm trying to use the MinGw compiler inside Scilab. There is a mingw atom which supposedly should be installed by
atomsInstall('mingw')
返回空和
atomsLoad('mingw');
返回错误:
Mingw编译器对Scilab的支持
Mingw Compiler support for Scilab
加载宏
警告:未检测到MinGW编译器.
WARNING: MinGW Compiler not detected.
加载帮助
和haveacompiler()
返回false F
,尽管我通过Chocolatey安装了编译器.可能是什么问题:
and the haveacompiler()
returns false F
, although I have the compiler installed through Chocolatey. What could be the problem:
- 需要将编译器添加到Windows环境变量或类似的东西吗?我想Chocolatey默认情况下应该照顾好它.我已经在mingw巧克力页面上的此处反映了此问题.
- mingw Scilab原子中存在一个错误.我已经联系了维护人员Antoine Elias和Allan Cornet,以了解这种可能性.
- 这是一些人的鸣叫虫.我也在此处分享了此问题mingw邮件列表.
- the compiler needs to be added to Windows environment variables or something like that? I suppose Chocolatey should take care of that by default. I have reflected this issue here on mingw chocolatey page.
- there is a bug in the mingw Scilab atom. I have contacted the maintainers Antoine Elias and Allan Cornet for that possibility.
- It is a mingw bug as some have sugested. I have shared this issue also here on the mingw mailing list.
PS1.我在此处报告了一个错误.
PS2.我已经通过这里.
推荐答案
解决方案:在Scilab 6.0.1,Windows 7上进行了测试
Solution: Tested on Scilab 6.0.1, Windows 7
- 首先,下载Equation Solution编译器
gcc-6.2.0
程序包 32 或 64 - 安装它.它将仅复制
gcc
和相关的binuntils
在C:/Users/yourUserId
中. - 然后启动Scilab并安装MinGW Atoms模块.
- 然后注销/登录Windows会话.重新启动Scilab.加载时,MinGW模块需要一些时间(可能需要一些编译),但是不会抱怨.
- 然后
ilib_for_link
的动态链接示例运行良好!
- first of all, download the Equation Solution compiler
gcc-6.2.0
package 32 or 64 - install it. It will just copy
gcc
and relatedbinuntils
inC:/Users/yourUserId
. - Then start Scilab and install the MinGW Atoms module.
- Then logout/login your Windows session. Restart Scilab. When loading, MinGW module takes some time (maybe some compilations), but does not complain.
- Then the dynamic link example of
ilib_for_link
runs fine !
说明:方程式解决方案包由 Jenn-Ching Luo 开发,开发了MinGW Atoms软件包在MinGW的这种特殊分布上.
Explanations: The Equation Solution package was developed by Jenn-Ching Luo, the MinGW Atoms package was developed over this particular distribution of MinGW.
这篇关于atomicInstall找不到通过Chocolatey安装的mingw编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!