Octave 安装后的警告
启动八度后我收到以下警告。 我使用了来自
可能是什么问题?这些是重大警告吗? 我正在使用Windows。
warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics-
1.1.0\fstat.m shadows a core library function
I am getting following warning after launching octave.
i used installation instruction from here.
What could be the issue? Are these major warnings?
I am using windows.
warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics-
1.1.0\fstat.m shadows a core library function
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是因为您安装了可能不需要的软件包(否则您已经注意到的不仅仅是警告消息)
您已经安装并加载了 msh 软件包。该软件包使用 gmsh 因此会出现警告。如果您不使用此软件包,请删除它
pkg uninstall msh
或使用pkg rebuild -noauto msh
关闭启动时的自动加载我不知道到底使用哪个软件包dx 但我猜问题与 msh 相同。运行
pkg unload all
,然后尝试一一加载它们,直到找到警告。修复与 msh 包的情况相同。统计包中的 fstat() 函数正在隐藏 Octave 核心中同名的相同函数。 core 中的那个已经被弃用,所以不用担心这个警告。 Octave 3.8 发布后它将消失。
That's because you have installed packages that you probably do not need (otherwise you would already noticed more than just the warning message)
You have the msh package installed and loaded. This package uses gmsh hence the warning. If you don't use this package remove it
pkg uninstall msh
or turn off its automatic loading at startup withpkg rebuild -noauto msh
I don't know exactly which package uses dx but I'm guessing the problem is same as the msh. Run
pkg unload all
and then try to load them one by one until you find the warning. Fix as in the case of msh package.The
fstat()
function from the statistics package is shadowing the same function with same name from Octave core. The one in core is already deprecated so don't worry about this warning. It will go away after Octave 3.8 is released.为了解决
Ubuntu 中的某些功能将被禁用,您必须编辑以下文件
并且您应该注释此行
pkg ("load", "auto");
这是此警告的解决方案。
To solve the
in Ubuntu, you have to edit the following file
and you should comment this line
pkg ("load", "auto");
This is the solution for this warning .