开发者

Eclipse CDT Settings

I'm trying to compile one single cpp file with Eclipse CDT and MinGW. On command line, c++ Test.cpp does the job. If I try to compile the file with Eclipse, I get errors telling me that I don't have included string.h in my lib files.

How do I setup Eclipse just to perform "g++ Test.cpp" without considering my lib files as independen开发者_开发问答t files? Thanks for helping :)

Kon


In the Project Explorer tab, right click one (or more) of your .cpp file(s) and select Build Selected File(s).


I managed to exclude my lib files by right clicking on the folder "exclude from build ..." :) Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜