错误:“Cygwin GCC”这个系统不受支持 [英] ERROR: "Cygwin GCC" that is unsupported on this system
问题描述
我正在使用Eclipse IDE(使用Windows 7)创建我的第一个C ++可执行文件。
I am trying to create my first C++ exeecutable using Eclipse IDE (using Windows 7). I am getting the following error while building.
如何纠正?
ERROR ::无法获取主线程的上下文,错误998
ERROR:: couldn't get context of main thread, error 998
信息:配置调试使用链接Cygwin GCC,这个系统不支持,尝试建立。
Info: Configuration "Debug" uses tool-chain "Cygwin GCC" that is unsupported on this system, attempting to build anyway.
make all
'构建文件:../src/LestTest.cpp'
[sig] C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe 1000( 0)call_handler:无法获取主线程的上下文,错误998
'Building file: ../src/LestTest.cpp' [sig] C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe 1000 (0) call_handler: couldn't get context of main thread, error 998
Bash
路径环境变量具有以下
C:\cygwin\bin\
C:\cygwin\bin\
请参阅eclipse的以下截图
Please see the following screenshots from eclipse
推荐答案
确保Bash结果指向Cygwin提到的位置
Make sure that the Bash result is pointing to the location mentioned in Cygwin
构建代码 - 这个结果在二进制文件夹中
Build the code - this result in a binary folder
运行应用程序
这篇关于错误:“Cygwin GCC”这个系统不受支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!