Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 474
Omnik Avatar asked Nov 23 '25 01:11

Omnik


1 Answers

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.

like image 102
Omnik Avatar answered Nov 24 '25 17:11

Omnik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!