QT,CMAKE和NINJA:忍者的分段故障

发布于 2025-02-08 17:16:38 字数 232 浏览 3 评论 0原文

忍者的问题如下:

Qt CMake Error: Running '/home/klaus/Qt/Tools/Ninja/ninja' '-C' '/home/klaus/Projects/build-sermonfiller-Desktop_Qt_5_15_2_GCC_64bit-Debug' '-t' 'recompact' 
failed with: 

Segmentation fault

Ninja's problem is stated as follows:

Qt CMake Error: Running '/home/klaus/Qt/Tools/Ninja/ninja' '-C' '/home/klaus/Projects/build-sermonfiller-Desktop_Qt_5_15_2_GCC_64bit-Debug' '-t' 'recompact' 
failed with: 

Segmentation fault

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尛丟丟 2025-02-15 17:16:38

什么不起作用:

  • 重新安装忍者,重新安装QT
  • 试图更新Ubuntu(目前是21.10努力更新为22.04 LTS)。互联网上有一些建议可能会导致此问题。
  • 的依赖项
  • 更新试图删除.ninja_deps等的

  • Linux

实际上,由于忍者的segfault,Cmake无法制作我的 make 文件。

另外,值得注意的是,我的项目与MacOS一起在另一台计算机上工作。另外,另一个项目成功地建立了。因此,构建本身是一些问题。

What did not work:

  • Reinstalling Ninja, reinstalling Qt
  • Trying to update Ubuntu (currently it's 21.10 struggling to update to 22.04 LTS). There are some suggestions on the internet that updates may cause this problem.
  • Updating Linux' dependencies
  • Seeking to delete .ninja_deps, etc.

What worked:

  • Deleting the build folder entirely.

In fact, CMake was unable to make my make files because of ninja's segfault.

Also, it's worth noting that my project worked on another computer with MacOs. Also, another project was built successfully. Thence, it was some problem with the build itself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文