简体   繁体   English

在Windows上将修补程序应用于Octave

[英]Applying patches to Octave on Windows

I want to fix the Octave breakpoint bug on windows. 我想修复Windows上的Octave断点错误。 I found the patch in the bug tracker [bug #46451] but I can't seem to find a way to apply it on windows. 我在错误跟踪器[bug#46451]中找到了该补丁,但似乎找不到在Windows上应用该补丁的方法。 I can see the diff files to be changed, but even then i can't seem to find the files within octave folder to apply the changes. 我可以看到要更改的差异文件,但是即使那样,我似乎也无法在octave文件夹中找到要应用更改的文件。

Since the patch changes C++ source code you have to build GNU Octave yourself. 由于补丁会更改C ++源代码,因此您必须自己构建GNU Octave。 The windows build are nowadays done with MXE octave http://wiki.octave.org/MXE which is a crosscompile environment. 如今,Windows构建是使用MXE octave http://wiki.octave.org/MXE (交叉编译环境)完成的。

In a nutshell you have to 简而言之,您必须

  1. Install a GNU/Linux distribution 安装GNU / Linux发行版
  2. Install built dependencies, mercurial and so on 安装内置的依赖项,Mercurial等
  3. Clone the mxe octave repo 克隆mxe八度回购
  4. Perhaps adapt the patch to the current sourceode and apply it 也许使补丁适应当前的源极并应用它
  5. Built MXE Octave which takes some hours 内置MXE八度,需要几个小时

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

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