我试图在Eclipse中运行Hello World C++程序。它说Building Test Debug然后Launching Test Debug has encountered a problem. Program file doesn't exist.是因为一些必需的文件丢失吗?我如何获得这些文件?我一直在使用MinGW。
Hello World
Building Test Debug
Launching Test Debug has encountered a problem. Program file doesn't exist.
hm2xizp91#
我去Debug文件夹,我的程序二进制文件和运行它。它需要libgcc_s_dw2-1.dll,libstdc++-6.dll,和libwinpthread-1.dll运行。所以,我添加这些库从MinGW Eclipse使用Project-> Properties-> C/C++Build-> Settings-> Tool Settings tab-> linker-> Libraries。
Debug
libgcc_s_dw2-1.dll
libstdc++-6.dll
libwinpthread-1.dll
Project
Properties
C/C++Build
Settings
Tool Settings tab
linker
Libraries
1条答案
按热度按时间hm2xizp91#
我去
Debug
文件夹,我的程序二进制文件和运行它。它需要libgcc_s_dw2-1.dll
,libstdc++-6.dll
,和libwinpthread-1.dll
运行。所以,我添加这些库从MinGW Eclipse使用Project
->Properties
->C/C++Build
->Settings
->Tool Settings tab
->linker
->Libraries
。