0

I have problem with Sublime Text 2 and C++, after Mavericks (10.9) OS X update when i complie it cant find librarys and gives me an error

 error: 'endl' was not declared in this scope

and the same is with cout, cin and I am prety sure its with all the iostream functions and yes I did include iostream

eLbor
  • 45
  • 9
  • Have a look at [this previous question](http://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error-on-osx-mavericks) and see if it helps. (You did update XCode, right?) – molbdnilo Oct 24 '13 at 12:41

1 Answers1

0

I had a similar issue with this where SublimeClang's diagnostics couldn't find any libraries (iostream, string, etc..) after upgrading to Mavericks.

The solution for me was to reinstall Xcode command line tools.

xcode-select --install

From what you've said I'd suggest giving this a shot. Source

Community
  • 1
  • 1
Sourz
  • 18
  • 1
  • 2