atomicInstall找不到通过Chocolatey安装的mingw编译器 [英] atomsInstall can't find the mingw compiler installed through chocolatey

查看:197
本文介绍了atomicInstall找不到通过Chocolatey安装的mingw编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是这个问题,我是我不太确定问题出在哪里,所以我为所有涉及的组件添加了标签.我正在尝试在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:

  1. 需要将编译器添加到Windows环境变量或类似的东西吗?我想Chocolatey默认情况下应该照顾好它.我已经在mingw巧克力页面上的此处反映了此问题.
  2. mingw Scilab原子中存在一个错误.我已经联系了维护人员Antoine Elias和Allan Cornet,以了解这种可能性.
  3. 这是一些人的鸣叫虫.我也在此处分享了此问题mingw邮件列表.
  1. 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.
  2. there is a bug in the mingw Scilab atom. I have contacted the maintainers Antoine Elias and Allan Cornet for that possibility.
  3. 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

  1. 首先,下载Equation Solution编译器gcc-6.2.0程序包 32 64
  2. 安装它.它将仅复制gcc和相关的binuntilsC:/Users/yourUserId中.
  3. 然后启动Scilab并安装MinGW Atoms模块.
  4. 然后注销/登录Windows会话.重新启动Scilab.加载时,MinGW模块需要一些时间(可能需要一些编译),但是不会抱怨.
  5. 然后ilib_for_link的动态链接示例运行良好!
  1. first of all, download the Equation Solution compiler gcc-6.2.0 package 32 or 64
  2. install it. It will just copy gcc and related binuntils in C:/Users/yourUserId.
  3. Then start Scilab and install the MinGW Atoms module.
  4. Then logout/login your Windows session. Restart Scilab. When loading, MinGW module takes some time (maybe some compilations), but does not complain.
  5. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆