c++ - Error with google-sparsehash in mac os x mavericks 10.9.3 -


i'm compiling c++ project depends on google-sparsehash. did install sparse through brew install google-sparsehash --cc=gcc-4.2 command. but, when compile project got fatal error: 'tr1/functional' file not found. i'd solve problem, me?

the output of compiler showed bellow:

c++ -- cb/allbalances.cpp c++ -- cb/alladdresses.cpp c++ -- callback.cpp c++ -- cb/closure.cpp c++ -- cb/dumptx.cpp c++ -- parser.cpp c++ -- cb/pristine.cpp c++ -- cb/rewards.cpp clang: clang: clangclang: : clangclang: : clangclang: : warning: warning: warning: warning: warning: warning: warning: warning: argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'argument unused during compilation: '-fno-check-new'  in file included cb/rewards.cpp:4: in file included ./util.h:103: in file included /usr/local/include/google/dense_hash_map:34: /usr/local/include/sparsehash/dense_hash_map:106:10: fatal error: 'tr1/functional' file not found in file included cb/pristine.cpp:4: in file included ./util.h:103: in file included /usr/local/include/google/dense_hash_map:34: /usr/local/include/sparsehash/dense_hash_map:106:10: fatal error: 'tr1/functional' file not found in file included cb/closure.cpp:4: in file included ./util.h:103: in file included /usr/local/include/google/dense_hash_map:34: /usr/local/include/sparsehash/dense_hash_map:106:10: fatal error: 'tr1/functional' file not found #include hash_fun_h                 // hash<>#include hash_fun_h                 // hash<>      ^ 

when type c++ -v get:

apple llvm version 5.0 (clang-500.2.79) (based on llvm 3.3svn) target: x86_64-apple-darwin13.2.0 thread model: posix 

thank you.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -