相关疑难解决方法(0)

该程序无法启动,因为Eclipse CDT中缺少cygwin1.dll ...

我已经在我的计算机上安装了Eclipse for Java几年,并决定安装CDT并学习C.我安装了两个MinGW并且CygwinCDT在我创建一个新项目时检测并尝试使用它们.

我选择File > New C++ Project,选择Hello World C++ ProjectCygwinGCC工具链.我将项目命名为"asdf"并点击工具栏中的"Build Debug".编译器完成且没有错误.我点击Run并没有任何反应.

手动浏览到项目目录并运行asdf.exe会给出错误:
"The program can't start because cygwin1.dll is missing from your computer. Try reinstalling the program to fix this problem."

使用MinGW也会发生同样的事情,只缺少一个不同的dll.
我需要做些什么来拥有一个可用的.exe?
(我正在运行Windows 7 x64以及最新版本的Eclipse和CDT.)

编辑:编译器输出如下:

**** Build of configuration Debug for project asdf ****

make all 
Building file: ../src/asdf.cpp
Invoking: Cygwin C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/asdf.d" -MT"src/asdf.d" -o"src/asdf.o" "../src/asdf.cpp"
cygwin warning: …
Run Code Online (Sandbox Code Playgroud)

eclipse dll cygwin exe eclipse-cdt

38
推荐指数
1
解决办法
10万
查看次数

标签 统计

cygwin ×1

dll ×1

eclipse ×1

eclipse-cdt ×1

exe ×1