Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Using X11 for window creation
- -- GLM is a header only library, no need to build it. Set the option GLM_TEST_ENABLE with ON to build and run the test bench
- -- Looking for ZLIB...
- -- Checking for module 'zzip-zlib-config'
- -- No package 'zzip-zlib-config' found
- -- Found ZLIB: optimized;/usr/lib/x86_64-linux-gnu/libz.so;debug;/usr/lib/x86_64-linux-gnu/libz.so
- -- Checking for module 'minizip'
- -- No package 'minizip' found
- -- Enabled formats: AMF 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF
- -- Disabled formats:
- OPENGL FOUND
- /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/icecool/projects/C++/OpenGL/pyromaze/build
- [ 0%] Generating HTML documentation
- [ 0%] Built target glad
- [ 4%] Built target glfw
- [ 4%] Built target glm_dummy
- [ 6%] Built target BulletSoftBody
- [ 25%] Built target BulletCollision
- [ 32%] Built target BulletDynamics
- [ 34%] Built target LinearMath
- [ 35%] Built target splitview
- [ 36%] Built target gears
- [ 37%] Built target wave
- [ 77%] Built target assimp
- [ 77%] Built target boing
- [ 78%] Built target offscreen
- [ 79%] Built target particles
- [ 79%] Built target simple
- [ 80%] Built target heightmap
- [ 81%] Built target title
- [ 82%] Built target joysticks
- [ 84%] Built target cursor
- [ 84%] Built target sharing
- [ 85%] Built target iconify
- [ 86%] Built target windows
- [ 86%] Built target icon
- [ 86%] Built target vulkan
- [ 87%] Built target clipboard
- [ 88%] Built target msaa
- [ 88%] Built target threads
- [ 88%] Built target tearing
- [ 89%] Built target timeout
- [ 90%] Built target reopen
- [ 91%] Built target glfwinfo
- [ 91%] Built target events
- [ 92%] Built target empty
- [ 93%] Built target gamma
- [ 94%] Built target monitors
- [ 94%] Built target docs
- Scanning dependencies of target pyromaze
- [ 94%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/main_scene.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/border_wall.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/ground.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/wall.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/dynamite.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/player.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/robot.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_batch_renderer.cpp.o
- [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_renderer.cpp.o
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object.cpp:29:43: error: no viable conversion from 'Transform' (aka 'Transformation<float, glm::precision::highp>') to 'const engine::GameObject *'
- renderer_->AddInstanceToRenderBatch(transform());
- ^~~~~~~~~~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
- operator mat4() const {
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:22:59: note: passing argument to parameter 'game_object' here
- void AddInstanceToRenderBatch(const engine::GameObject* game_object);
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object.cpp:36:49: error: no viable conversion from 'Transform' (aka 'Transformation<float, glm::precision::highp>') to 'const engine::GameObject *'
- renderer_->AddInstanceToShadowRenderBatch(transform());
- ^~~~~~~~~~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
- operator mat4() const {
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:26:65: note: passing argument to parameter 'game_object' here
- void AddInstanceToShadowRenderBatch(const engine::GameObject* game_object);
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object.cpp:47:43: error: no viable conversion from 'Transform' (aka 'Transformation<float, glm::precision::highp>') to 'const engine::GameObject *'
- renderer_->AddInstanceToRenderBatch(transform());
- ^~~~~~~~~~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
- operator mat4() const {
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:22:59: note: passing argument to parameter 'game_object' here
- void AddInstanceToRenderBatch(const engine::GameObject* game_object);
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object.cpp:60:49: error: no viable conversion from 'Transform' (aka 'Transformation<float, glm::precision::highp>') to 'const engine::GameObject *'
- renderer_->AddInstanceToShadowRenderBatch(transform());
- ^~~~~~~~~~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
- operator mat4() const {
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:26:65: note: passing argument to parameter 'game_object' here
- void AddInstanceToShadowRenderBatch(const engine::GameObject* game_object);
- ^
- 4 errors generated.
- make[2]: *** [src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:87:59: error: no viable conversion from 'const engine::ICamera' to 'engine::ICamera *'
- mesh_.uploadModelMatrices(ReorderTransforms(instances_, cam));
- ^~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:69:61: note: passing argument to parameter 'camera' here
- engine::ICamera* camera) const;
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:110:68: error: no viable conversion from 'const engine::ICamera' to 'engine::ICamera *'
- mesh_.uploadModelMatrices(ReorderTransforms(shadow_instances_, shadow_cam));
- ^~~~~~~~~~
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:69:61: note: passing argument to parameter 'camera' here
- engine::ICamera* camera) const;
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:126:68: error: expected unqualified-id
- if (glm::length(a->transform().pos() - camPos) < glm::length(b.->transform().pos() - camPos)) {
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:133:16: error: no matching member function for call to 'push_back'
- transforms.push_back(instance);
- ~~~~~~~~~~~^~~~~~~~~
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_vector.h:913:7: note: candidate function not viable: no known conversion from 'const engine::GameObject *' to 'const value_type' (aka 'const glm::mat<4, 4, float, glm::precision::packed_highp>') for 1st argument
- push_back(const value_type& __x)
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_vector.h:931:7: note: candidate function not viable: no known conversion from 'const engine::GameObject *' to 'value_type' (aka 'glm::mat<4, 4, float, glm::precision::packed_highp>') for 1st argument
- push_back(value_type&& __x)
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:61:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:218:29: error: read-only variable is not assignable
- *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
- ~~~~~~~~~~~~~~~~~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:333:9: note: in instantiation of function template specialization 'std::__adjust_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, const engine::GameObject *, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__adjust_heap(__first, __parent, __len, _GLIBCXX_MOVE(__value),
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1669:12: note: in instantiation of function template specialization 'std::__make_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__make_heap(__first, __middle, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1928:12: note: in instantiation of function template specialization 'std::__heap_select<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__heap_select(__first, __middle, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1943:13: note: in instantiation of function template specialization 'std::__partial_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__partial_sort(__first, __last, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1963:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__introsort_loop(__first, __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:61:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:224:29: error: read-only variable is not assignable
- *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
- ~~~~~~~~~~~~~~~~~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:131:29: error: read-only variable is not assignable
- *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __parent));
- ~~~~~~~~~~~~~~~~~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:228:12: note: in instantiation of function template specialization 'std::__push_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, const engine::GameObject *, __gnu_cxx::__ops::_Iter_comp_val<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__push_heap(__first, __holeIndex, __topIndex,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:333:9: note: in instantiation of function template specialization 'std::__adjust_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, const engine::GameObject *, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__adjust_heap(__first, __parent, __len, _GLIBCXX_MOVE(__value),
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1669:12: note: in instantiation of function template specialization 'std::__make_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__make_heap(__first, __middle, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1928:12: note: in instantiation of function template specialization 'std::__heap_select<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__heap_select(__first, __middle, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1943:13: note: in instantiation of function template specialization 'std::__partial_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__partial_sort(__first, __last, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1963:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__introsort_loop(__first, __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:61:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:135:32: error: read-only variable is not assignable
- *(__first + __holeIndex) = _GLIBCXX_MOVE(__value);
- ~~~~~~~~~~~~~~~~~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:244:17: error: read-only variable is not assignable
- *__result = _GLIBCXX_MOVE(*__first);
- ~~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1672:9: note: in instantiation of function template specialization 'std::__pop_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__pop_heap(__first, __middle, __i, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1928:12: note: in instantiation of function template specialization 'std::__heap_select<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__heap_select(__first, __middle, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1943:13: note: in instantiation of function template specialization 'std::__partial_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__partial_sort(__first, __last, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1963:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__introsort_loop(__first, __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:61:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:245:7: error: no matching function for call to '__adjust_heap'
- std::__adjust_heap(__first, _DistanceType(0),
- ^~~~~~~~~~~~~~~~~~
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:207:5: note: candidate template ignored: substitution failure [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, _Distance = long, _Tp = const engine::GameObject *, _Compare = __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>]
- __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:396:4: error: no matching function for call to '__pop_heap'
- std::__pop_heap(__first, __last, __last, __comp);
- ^~~~~~~~~~~~~~~
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1929:12: note: in instantiation of function template specialization 'std::__sort_heap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort_heap(__first, __middle, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1943:13: note: in instantiation of function template specialization 'std::__partial_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__partial_sort(__first, __last, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1963:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__introsort_loop(__first, __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_heap.h:235:5: note: candidate template ignored: substitution failure [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, _Compare = __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>]
- __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:64:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_pair.h:59:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/move.h:186:11: error: read-only variable is not assignable
- __a = _GLIBCXX_MOVE(__b);
- ~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:148:7: note: in instantiation of function template specialization 'std::swap<const engine::GameObject *const>' requested here
- swap(*__a, *__b);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:84:11: note: in instantiation of function template specialization 'std::iter_swap<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > > >' requested here
- std::iter_swap(__result, __b);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1916:12: note: in instantiation of function template specialization 'std::__move_median_to_first<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__move_median_to_first(__first, __first + 1, __mid, __last - 1,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1948:11: note: in instantiation of function template specialization 'std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__unguarded_partition_pivot(__first, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1963:9: note: in instantiation of function template specialization 'std::__introsort_loop<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, long, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__introsort_loop(__first, __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:64:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_pair.h:59:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/move.h:187:11: error: read-only variable is not assignable
- __b = _GLIBCXX_MOVE(__tmp);
- ~~~ ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1847:17: error: read-only variable is not assignable
- *__first = _GLIBCXX_MOVE(__val);
- ~~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1880:9: note: in instantiation of function template specialization 'std::__insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1966:9: note: in instantiation of function template specialization 'std::__final_insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__final_insertion_sort(__first, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:603:14: error: no matching function for call to '__copy_move_b'
- return std::__copy_move_backward<_IsMove, __simple,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:613:24: note: in instantiation of function template specialization 'std::__copy_move_backward_a<true, const engine::GameObject *const *, const engine::GameObject *const *>' requested here
- return _BI2(std::__copy_move_backward_a<_IsMove>
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:684:19: note: in instantiation of function template specialization 'std::__copy_move_backward_a2<true, __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > > >' requested here
- return std::__copy_move_backward_a2<true>(std::__miter_base(__first),
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1846:8: note: in instantiation of function template specialization 'std::move_backward<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > > >' requested here
- _GLIBCXX_MOVE_BACKWARD3(__first, __i, __i + 1);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:689:53: note: expanded from macro '_GLIBCXX_MOVE_BACKWARD3'
- #define _GLIBCXX_MOVE_BACKWARD3(_Tp, _Up, _Vp) std::move_backward(_Tp, _Up, _Vp)
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1880:9: note: in instantiation of function template specialization 'std::__insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1966:9: note: in instantiation of function template specialization 'std::__final_insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__final_insertion_sort(__first, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algobase.h:575:9: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('const engine::GameObject *' vs. 'const engine::GameObject *const')
- __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1825:12: error: read-only variable is not assignable
- *__last = _GLIBCXX_MOVE(*__next);
- ~~~~~~~ ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1862:7: note: in instantiation of function template specialization 'std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Val_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__unguarded_linear_insert(__i,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1881:9: note: in instantiation of function template specialization 'std::__unguarded_insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__unguarded_insertion_sort(__first + int(_S_threshold), __last,
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1966:9: note: in instantiation of function template specialization 'std::__final_insertion_sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__final_insertion_sort(__first, __last, __comp);
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:4729:12: note: in instantiation of function template specialization 'std::__sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, __gnu_cxx::__ops::_Iter_comp_iter<(lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)> >' requested here
- std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
- ^
- /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:8: note: in instantiation of function template specialization 'std::sort<__gnu_cxx::__normal_iterator<const engine::GameObject *const *, std::vector<const engine::GameObject *, std::allocator<const engine::GameObject *> > >, (lambda at /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:125:51)>' requested here
- std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
- ^
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
- In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
- In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
- /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/bits/stl_algo.h:1829:15: error: read-only variable is not assignable
- *__last = _GLIBCXX_MOVE(__val);
- ~~~~~~~ ^
- 17 errors generated.
- make[2]: *** [src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_renderer.cpp.o] Error 1
- make[1]: *** [src/CMakeFiles/pyromaze.dir/all] Error 2
- make: *** [all] Error 2
- [Finished in 4.5s with exit code 2]
- [cmd: ['CC=clang-3.6 CXX=clang++-3.6 cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4']]
- [dir: /home/icecool/projects/C++/OpenGL/pyromaze/build]
- [path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement