【问题标题】:Getting a cmake / msys / appveyor / win10 exe to run properly让 cmake / msys / appveyor / win10 exe 正常运行
【发布时间】:2020-02-24 13:52:57
【问题描述】:

我正在尝试获取fortune-mod 是一个开源 C 项目,用于在 AppVeyor / MS Windows 10 x64 上构建和通过测试,但目前那里基本的和减少的可执行崩溃没有 在printf() 调用中输出字符串。

您可以找到offending github branchthe latest commit 重现该问题:

[00:03:27] Running [cd . &&  c:/foo/games/fortune.exe]
[00:03:28] Can't spawn "cmd.exe": No such file or directory at CI-testing/continuous-integration-testing.pl line 17.
[00:03:28] Running [cd . &&  c:/foo/games/fortune.exe] failed! at CI-testing/continuous-integration-testing.pl line 19.
[00:03:28] c:\foo\games\fortune
[00:03:28] Command exited with code -1073741515

请参阅AppVeyor build

我在 perl 5 和其他语言中使用 CMake 和一些胶水,the master branch 通过使用 Ubuntu Linux 18.04 的 travis-CI 上的所有测试(并且在 mageia linux v8 上本地运行良好)。

问题是什么?如何解决?

【问题讨论】:

    标签: c windows cmake msys appveyor


    【解决方案1】:

    回答我的问题:在 freenode 上的 #cmake 聊天室中,有人提示我可能缺少 DLL。我使用他们的命令行实用程序使用了https://github.com/lucasg/Dependencies/,发现它被称为libsystre-0.dll,它是mingw64的一部分,并将@​​987654324@(除了c:\msys64\mingw64\lib)添加到PATH环境变量使可执行文件运行得更好之前。

    【讨论】:

      猜你喜欢
      • 2019-01-17
      • 1970-01-01
      • 2019-04-16
      • 2013-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-17
      • 1970-01-01
      相关资源
      最近更新 更多