Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2013
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. root@minecraftsrv:~/minecraft/mapcrafter/src# make
  2. [ 4%] Built target version.cpp
  3. [ 8%] Building CXX object CMakeFiles/mapcraftercore.dir/util/filesystem.o
  4. /root/minecraft/mapcrafter/src/util/filesystem.cpp: In function ‘mapcrafter::util::PathList mapcrafter::util::findResourceDirs(const boost::filesystem3::path&)’:
  5. /root/minecraft/mapcrafter/src/util/filesystem.cpp:117:2: error: in C++98 ‘resources’ must be initialized by constructor, not by ‘{...}’
  6. In file included from /usr/include/c++/4.6/bits/stl_algobase.h:66:0,
  7. from /usr/include/c++/4.6/vector:61,
  8. from /root/minecraft/mapcrafter/src/util/filesystem.h:23,
  9. from /root/minecraft/mapcrafter/src/util/filesystem.cpp:20:
  10. /usr/include/c++/4.6/bits/stl_iterator_base_types.h: At global scope:
  11. /usr/include/c++/4.6/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits<boost::filesystem3::path>’:
  12. /usr/include/c++/4.6/bits/stl_vector.h:1090:24: instantiated from ‘void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_InputIterator, _InputIterator, std::__false_type) [with _InputIterator = boost::filesystem3::path, _Tp = boost::filesystem3::path, _Alloc = std::allocator<boost::filesystem3::path>]’
  13. /usr/include/c++/4.6/bits/stl_vector.h:340:4: instantiated from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = boost::filesystem3::path, _Tp = boost::filesystem3::path, _Alloc = std::allocator<boost::filesystem3::path>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<boost::filesystem3::path>]’
  14. /root/minecraft/mapcrafter/src/util/filesystem.cpp:117:2: instantiated from here
  15. /usr/include/c++/4.6/bits/stl_iterator_base_types.h:166:53: error: no type named ‘iterator_category’ in ‘class boost::filesystem3::path’
  16. /usr/include/c++/4.6/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘class boost::filesystem3::path’
  17. /usr/include/c++/4.6/bits/stl_iterator_base_types.h:169:53: error: no type named ‘pointer’ in ‘class boost::filesystem3::path’
  18. /usr/include/c++/4.6/bits/stl_iterator_base_types.h:170:53: error: no type named ‘reference’ in ‘class boost::filesystem3::path’
  19. make[2]: *** [CMakeFiles/mapcraftercore.dir/util/filesystem.o] Error 1
  20. make[1]: *** [CMakeFiles/mapcraftercore.dir/all] Error 2
  21. make: *** [all] Error 2
  22. root@minecraftsrv:~/minecraft/mapcrafter/src#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement