You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

64位Cygwin中执行CMake构建的sample.exe返回127错误求助

64位Cygwin下运行CMake构建的sample.exe返回退出码127且无任何输出

在64位Cygwin环境中,我们尝试执行通过CMake构建的./sample.exe程序,程序未输出任何错误或成功信息便直接退出。执行echo $?查看退出状态码,返回值为127。我们已经使用cygcheck sample.exe检查缺失依赖库,并根据报告补充了所需库,但问题依旧存在。

环境详情

GCC版本

$ gcc --version
gcc (GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

LD链接器版本

$ ld --version
GNU ld (GNU Binutils) 2.40
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

Cygcheck版本

$ cygcheck --version
cygcheck (cygwin) 3.4.6
System Checker for Cygwin
Copyright (C) 1998 - 2023 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

若需要更多信息,请告知。

内容的提问来源于stack exchange,提问作者rajesh kesavan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.20 03:43:06