Advertisement
shavera

c++11 osx header problem

Sep 16th, 2015
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.90 KB | None | 0 0
  1. "/Applications/CMake 2.8-12.app/Contents/bin/cmake" -H/Users/username/c11Test -B/Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default --check-build-system CMakeFiles/Makefile.cmake 0
  2. "/Applications/CMake 2.8-12.app/Contents/bin/cmake" -E cmake_progress_start /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default/CMakeFiles /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default/CMakeFiles/progress.marks
  3. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
  4. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/c11Test.dir/build.make CMakeFiles/c11Test.dir/depend
  5. cd /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default && "/Applications/CMake 2.8-12.app/Contents/bin/cmake" -E cmake_depends "Unix Makefiles" /Users/username/c11Test /Users/username/c11Test /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default/CMakeFiles/c11Test.dir/DependInfo.cmake --color=
  6. Scanning dependencies of target c11Test
  7. /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/c11Test.dir/build.make CMakeFiles/c11Test.dir/build
  8. "/Applications/CMake 2.8-12.app/Contents/bin/cmake" -E cmake_progress_report /Users/username/build-c11Test-Desktop_Qt_5_2_1_clang_64bit-Default/CMakeFiles 1
  9. [100%] Building CXX object CMakeFiles/c11Test.dir/main.cpp.o
  10. /usr/bin/c++    -stdlib=libc++ -std=gnu++11   -o CMakeFiles/c11Test.dir/main.cpp.o -c /Users/username/c11Test/main.cpp
  11. /Users/username/c11Test/main.cpp:11:20: error: no member named 'accumulate' in namespace 'std'
  12.     int sum = std::accumulate(v.begin(), v.end(), 0);
  13.               ~~~~~^
  14. 1 error generated.
  15. make[2]: *** [CMakeFiles/c11Test.dir/main.cpp.o] Error 1
  16. make[1]: *** [CMakeFiles/c11Test.dir/all] Error 2
  17. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement