【问题标题】:I can't run the manta.exe in Windows我无法在 Windows 中运行 manta.exe
【发布时间】:2020-11-17 14:56:02
【问题描述】:

环境:python 3.7、cmake 3.19.0、Visual Studio Community 2019、Qt5.9.9(包括MinGW)

我在http://mantaflow.com/download.html和它的github上下载了这个包,我试图安装它但运行manta.exe失败。

这是我的安装步骤:(下载环境后,我参考https://blog.csdn.net/u012685679/article/details/84436953

1.解压mantaflow-master,mkdir构建

2.打开Cmake,选择Browse Source和Browse Build

3.点击“配置”

4.在表格中,它列出了一些东西,添加Qt-something,点击GUI和OPENMP(我不知道为什么,只是参考那个网站..) here is the screenshot

5.点击“生成”

6.在Visual Studio中打开“..\mantaflow-master\build\MantaFlow.sln”。(管理员)

7.将“menta”({ALL_BUILD, manta, prep, ZERO_CHECK})“Debug”设置为“Release”,设置为启动项目

8.将python37.dll复制到python37_d.dll(都在一个文件夹下,下同),将python37.lib复制到..\lib中的python37_d.lib,删除"#pragma comment(lib," python37_d.lib")",和"#define Py_DEBUG"在pyconfig.h中

9.在 Visual Studio 中调试。

进程在生成 manta.exe 后没有发现任何东西。它注意到关于 0xc000007b 的错误,这意味着它没有运行 manta.exe。我不知道如何解决这个问题。谢谢你的建议。

对不起,我的英语很差,如果您看不懂我的表达,或者您需要在我的计算机环境中了解更多细节或其他什么,请发给我。

【问题讨论】:

    标签: python visual-studio cmake cmake-gui


    【解决方案1】:

    手册指出“Manta 不会链接或在 windows 上运行”但可以编译到库级别。你有在 Windows 上运行 Manta 吗? 手动:https://github.com/Illumina/manta/blob/master/docs/developerGuide/README.md#windows-development-support

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-18
      • 2013-01-12
      • 1970-01-01
      • 2017-05-30
      • 2021-08-15
      • 1970-01-01
      相关资源
      最近更新 更多