简体   繁体   中英

Eclipse CDT could not find #include <__debug>

Everything was fine last week when I click the build button for a c++ project and it would generate the binary and I can run the program properly. But today after I updated the "Command Line Tools" in the app store(Btw my laptop is mac OSX 10.10.2), when I click the build button, it will generate this error message

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found "#include <__debug>"

1 error generated.

And I can no longer generate the binaries and run my program...

I didn't change any of the settings in eclipse.

So how can I fix this problem?

Ok I fixed this problem. Whoever got this problem today after you updated to CMDT 6.3 version. You can just download back the commandlinetoolsosx10.10forxcode6.2.dmg from Apples Developer Download Page. Everything will work fine as before.

在我的案例中从苹果网页下载“commandlinetoolsosx10.10forxcode6.3.2.dmg”解决了这个问题

New Os不允许安装以前版本的CommandLineToolsosx10.1

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