Mac OS 10.9 fatal error: file "tr1 / unordered_map" not found

I installed the command line tools using xcode-select --install.
If I do cd / Library / Developer / CommandLineTools / usr / bin, I see that gcc is listed there.

I am trying to install an external application on the command line that gives these errors

/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_set:205:5: warning: Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set> [-W#warnings] # warning Use of the header <ext/hash_set> is deprecated. Migrate to ... ^ In file included from src/stl_logging_unittest.cc:34: In file included from ./src/glog/stl_logging.h:76: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_map:212:5: warning: Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings] # warning Use of the header <ext/hash_map> is deprecated. Migrate to ... ^ In file included from src/stl_logging_unittest.cc:34: ./src/glog/stl_logging.h:77:11: fatal error: 'ext/slist' file not found # include <ext/slist> ^ 2 warnings and 1 error generated. make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1 Done. 
+5
source share

Source: https://habr.com/ru/post/1236467/


All Articles