Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@minecraftsrv:~/minecraft/mapcrafter/src# make
- [ 4%] Built target version.cpp
- [ 8%] Building CXX object CMakeFiles/mapcraftercore.dir/util/filesystem.o
- /root/minecraft/mapcrafter/src/util/filesystem.cpp: In function ‘mapcrafter::util::PathList mapcrafter::util::findResourceDirs(const boost::filesystem3::path&)’:
- /root/minecraft/mapcrafter/src/util/filesystem.cpp:117:2: error: in C++98 ‘resources’ must be initialized by constructor, not by ‘{...}’
- In file included from /usr/include/c++/4.6/bits/stl_algobase.h:66:0,
- from /usr/include/c++/4.6/vector:61,
- from /root/minecraft/mapcrafter/src/util/filesystem.h:23,
- from /root/minecraft/mapcrafter/src/util/filesystem.cpp:20:
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h: At global scope:
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h: In instantiation of ‘std::iterator_traits<boost::filesystem3::path>’:
- /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>]’
- /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>]’
- /root/minecraft/mapcrafter/src/util/filesystem.cpp:117:2: instantiated from here
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h:166:53: error: no type named ‘iterator_category’ in ‘class boost::filesystem3::path’
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h:168:53: error: no type named ‘difference_type’ in ‘class boost::filesystem3::path’
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h:169:53: error: no type named ‘pointer’ in ‘class boost::filesystem3::path’
- /usr/include/c++/4.6/bits/stl_iterator_base_types.h:170:53: error: no type named ‘reference’ in ‘class boost::filesystem3::path’
- make[2]: *** [CMakeFiles/mapcraftercore.dir/util/filesystem.o] Error 1
- make[1]: *** [CMakeFiles/mapcraftercore.dir/all] Error 2
- make: *** [all] Error 2
- root@minecraftsrv:~/minecraft/mapcrafter/src#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement