简体   繁体   中英

C/C++ Build Settings in Eclipse

I admit this is the first time I am using Eclipse for C/C++. I thought I would get a similar dialog like this by going project -> Properties -> C/C++ Build -> Settings.

在此处输入图片说明

But I get this.

在此处输入图片说明

Can someone tell me what is going on?

This can also happen if you create a project using File > New > Makefile Project with Existing Code .

To resolve it, right-click on the project, select Properties , navigate to C/C++ Build , and check Generate Makefiles automatically

在此处输入图片说明

UPDATE: This was caused by having multiple set of C++ compilers in system paths. By resolving the system path, I solved the problem above. Hope this helps others.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM