Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.75 KB | None | 0 0
  1. -- Using X11 for window creation
  2. -- 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
  3. -- Looking for ZLIB...
  4. -- Checking for module 'zzip-zlib-config'
  5. -- No package 'zzip-zlib-config' found
  6. -- Found ZLIB: optimized;/usr/lib/x86_64-linux-gnu/libz.so;debug;/usr/lib/x86_64-linux-gnu/libz.so
  7. -- Checking for module 'minizip'
  8. -- No package 'minizip' found
  9. -- 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
  10. -- Disabled formats:
  11. OPENGL FOUND
  12. /usr/lib/x86_64-linux-gnu/libGLU.so/usr/lib/x86_64-linux-gnu/libGL.so
  13. -- Configuring done
  14. -- Generating done
  15. -- Build files have been written to: /home/icecool/projects/C++/OpenGL/pyromaze/build
  16. [ 0%] Generating HTML documentation
  17. [ 0%] Built target glad
  18. [ 4%] Built target glfw
  19. [ 4%] Built target glm_dummy
  20. [ 6%] Built target BulletSoftBody
  21. [ 25%] Built target BulletCollision
  22. [ 32%] Built target BulletDynamics
  23. [ 34%] Built target LinearMath
  24. [ 35%] Built target splitview
  25. [ 36%] Built target gears
  26. [ 37%] Built target wave
  27. [ 77%] Built target assimp
  28. [ 77%] Built target boing
  29. [ 78%] Built target offscreen
  30. [ 79%] Built target particles
  31. [ 79%] Built target simple
  32. [ 80%] Built target heightmap
  33. [ 81%] Built target title
  34. [ 82%] Built target joysticks
  35. [ 84%] Built target cursor
  36. [ 84%] Built target sharing
  37. [ 85%] Built target iconify
  38. [ 86%] Built target windows
  39. [ 86%] Built target icon
  40. [ 86%] Built target vulkan
  41. [ 87%] Built target clipboard
  42. [ 88%] Built target msaa
  43. [ 88%] Built target threads
  44. [ 88%] Built target tearing
  45. [ 89%] Built target timeout
  46. [ 90%] Built target reopen
  47. [ 91%] Built target glfwinfo
  48. [ 91%] Built target events
  49. [ 92%] Built target empty
  50. [ 93%] Built target gamma
  51. [ 94%] Built target monitors
  52. [ 94%] Built target docs
  53. Scanning dependencies of target pyromaze
  54. [ 94%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/main_scene.cpp.o
  55. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/border_wall.cpp.o
  56. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/ground.cpp.o
  57. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/environment/wall.cpp.o
  58. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/dynamite.cpp.o
  59. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/player.cpp.o
  60. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/game_logic/robot.cpp.o
  61. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object.cpp.o
  62. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_batch_renderer.cpp.o
  63. [ 95%] Building CXX object src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_renderer.cpp.o
  64. /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 *'
  65. renderer_->AddInstanceToRenderBatch(transform());
  66. ^~~~~~~~~~~
  67. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
  68. operator mat4() const {
  69. ^
  70. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:22:59: note: passing argument to parameter 'game_object' here
  71. void AddInstanceToRenderBatch(const engine::GameObject* game_object);
  72. ^
  73. /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 *'
  74. renderer_->AddInstanceToShadowRenderBatch(transform());
  75. ^~~~~~~~~~~
  76. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
  77. operator mat4() const {
  78. ^
  79. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:26:65: note: passing argument to parameter 'game_object' here
  80. void AddInstanceToShadowRenderBatch(const engine::GameObject* game_object);
  81. ^
  82. /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 *'
  83. renderer_->AddInstanceToRenderBatch(transform());
  84. ^~~~~~~~~~~
  85. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
  86. operator mat4() const {
  87. ^
  88. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:22:59: note: passing argument to parameter 'game_object' here
  89. void AddInstanceToRenderBatch(const engine::GameObject* game_object);
  90. ^
  91. /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 *'
  92. renderer_->AddInstanceToShadowRenderBatch(transform());
  93. ^~~~~~~~~~~
  94. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/common/transform.hpp:212:3: note: candidate function
  95. operator mat4() const {
  96. ^
  97. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:26:65: note: passing argument to parameter 'game_object' here
  98. void AddInstanceToShadowRenderBatch(const engine::GameObject* game_object);
  99. ^
  100. 4 errors generated.
  101. make[2]: *** [src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object.cpp.o] Error 1
  102. make[2]: *** Waiting for unfinished jobs....
  103. /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 *'
  104. mesh_.uploadModelMatrices(ReorderTransforms(instances_, cam));
  105. ^~~
  106. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:69:61: note: passing argument to parameter 'camera' here
  107. engine::ICamera* camera) const;
  108. ^
  109. /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 *'
  110. mesh_.uploadModelMatrices(ReorderTransforms(shadow_instances_, shadow_cam));
  111. ^~~~~~~~~~
  112. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:69:61: note: passing argument to parameter 'camera' here
  113. engine::ICamera* camera) const;
  114. ^
  115. /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:126:68: error: expected unqualified-id
  116. if (glm::length(a->transform().pos() - camPos) < glm::length(b.->transform().pos() - camPos)) {
  117. ^
  118. /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'
  119. transforms.push_back(instance);
  120. ~~~~~~~~~~~^~~~~~~~~
  121. /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
  122. push_back(const value_type& __x)
  123. ^
  124. /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
  125. push_back(value_type&& __x)
  126. ^
  127. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  128. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  129. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  130. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  131. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  132. 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:
  133. /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
  134. *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
  135. ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  136. /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
  137. std::__adjust_heap(__first, __parent, __len, _GLIBCXX_MOVE(__value),
  138. ^
  139. /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
  140. std::__make_heap(__first, __middle, __comp);
  141. ^
  142. /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
  143. std::__heap_select(__first, __middle, __last, __comp);
  144. ^
  145. /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
  146. std::__partial_sort(__first, __last, __last, __comp);
  147. ^
  148. /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
  149. std::__introsort_loop(__first, __last,
  150. ^
  151. /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
  152. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  153. ^
  154. /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
  155. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  156. ^
  157. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  158. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  159. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  160. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  161. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  162. 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:
  163. /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
  164. *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
  165. ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  166. /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
  167. *(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __parent));
  168. ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  169. /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
  170. std::__push_heap(__first, __holeIndex, __topIndex,
  171. ^
  172. /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
  173. std::__adjust_heap(__first, __parent, __len, _GLIBCXX_MOVE(__value),
  174. ^
  175. /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
  176. std::__make_heap(__first, __middle, __comp);
  177. ^
  178. /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
  179. std::__heap_select(__first, __middle, __last, __comp);
  180. ^
  181. /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
  182. std::__partial_sort(__first, __last, __last, __comp);
  183. ^
  184. /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
  185. std::__introsort_loop(__first, __last,
  186. ^
  187. /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
  188. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  189. ^
  190. /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
  191. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  192. ^
  193. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  194. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  195. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  196. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  197. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  198. 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:
  199. /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
  200. *(__first + __holeIndex) = _GLIBCXX_MOVE(__value);
  201. ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  202. /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
  203. *__result = _GLIBCXX_MOVE(*__first);
  204. ~~~~~~~~~ ^
  205. /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
  206. std::__pop_heap(__first, __middle, __i, __comp);
  207. ^
  208. /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
  209. std::__heap_select(__first, __middle, __last, __comp);
  210. ^
  211. /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
  212. std::__partial_sort(__first, __last, __last, __comp);
  213. ^
  214. /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
  215. std::__introsort_loop(__first, __last,
  216. ^
  217. /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
  218. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  219. ^
  220. /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
  221. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  222. ^
  223. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  224. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  225. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  226. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  227. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  228. 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:
  229. /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'
  230. std::__adjust_heap(__first, _DistanceType(0),
  231. ^~~~~~~~~~~~~~~~~~
  232. /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)>]
  233. __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
  234. ^
  235. /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'
  236. std::__pop_heap(__first, __last, __last, __comp);
  237. ^~~~~~~~~~~~~~~
  238. /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
  239. std::__sort_heap(__first, __middle, __comp);
  240. ^
  241. /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
  242. std::__partial_sort(__first, __last, __last, __comp);
  243. ^
  244. /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
  245. std::__introsort_loop(__first, __last,
  246. ^
  247. /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
  248. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  249. ^
  250. /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
  251. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  252. ^
  253. /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)>]
  254. __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
  255. ^
  256. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  257. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
  258. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
  259. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
  260. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
  261. 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:
  262. 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:
  263. /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
  264. __a = _GLIBCXX_MOVE(__b);
  265. ~~~ ^
  266. /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
  267. swap(*__a, *__b);
  268. ^
  269. /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
  270. std::iter_swap(__result, __b);
  271. ^
  272. /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
  273. std::__move_median_to_first(__first, __first + 1, __mid, __last - 1,
  274. ^
  275. /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
  276. std::__unguarded_partition_pivot(__first, __last, __comp);
  277. ^
  278. /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
  279. std::__introsort_loop(__first, __last,
  280. ^
  281. /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
  282. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  283. ^
  284. /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
  285. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  286. ^
  287. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  288. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
  289. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
  290. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
  291. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
  292. 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:
  293. 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:
  294. /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
  295. __b = _GLIBCXX_MOVE(__tmp);
  296. ~~~ ^
  297. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  298. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  299. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  300. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  301. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  302. /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
  303. *__first = _GLIBCXX_MOVE(__val);
  304. ~~~~~~~~ ^
  305. /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
  306. std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
  307. ^
  308. /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
  309. std::__final_insertion_sort(__first, __last, __comp);
  310. ^
  311. /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
  312. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  313. ^
  314. /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
  315. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  316. ^
  317. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  318. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:7:
  319. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/oglwrap.h:22:
  320. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/deps/oglwrap/textures/../buffer.h:10:
  321. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/vector:60:
  322. /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'
  323. return std::__copy_move_backward<_IsMove, __simple,
  324. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  325. /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
  326. return _BI2(std::__copy_move_backward_a<_IsMove>
  327. ^
  328. /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
  329. return std::__copy_move_backward_a2<true>(std::__miter_base(__first),
  330. ^
  331. /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
  332. _GLIBCXX_MOVE_BACKWARD3(__first, __i, __i + 1);
  333. ^
  334. /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'
  335. #define _GLIBCXX_MOVE_BACKWARD3(_Tp, _Up, _Vp) std::move_backward(_Tp, _Up, _Vp)
  336. ^
  337. /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
  338. std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
  339. ^
  340. /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
  341. std::__final_insertion_sort(__first, __last, __comp);
  342. ^
  343. /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
  344. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  345. ^
  346. /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
  347. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  348. ^
  349. /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')
  350. __copy_move_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
  351. ^
  352. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  353. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  354. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  355. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  356. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  357. /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
  358. *__last = _GLIBCXX_MOVE(*__next);
  359. ~~~~~~~ ^
  360. /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
  361. std::__unguarded_linear_insert(__i,
  362. ^
  363. /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
  364. std::__unguarded_insertion_sort(__first + int(_S_threshold), __last,
  365. ^
  366. /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
  367. std::__final_insertion_sort(__first, __last, __comp);
  368. ^
  369. /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
  370. std::__sort(__first, __last, __gnu_cxx::__ops::__iter_comp_iter(__comp));
  371. ^
  372. /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
  373. std::sort(instances_.begin(), instances_.end(), [&](const engine::GameObject* a, const engine::GameObject* b) {
  374. ^
  375. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.cpp:3:
  376. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/mesh/mesh_object_renderer.hpp:9:
  377. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/scene.hpp:12:
  378. In file included from /home/icecool/projects/C++/OpenGL/pyromaze/src/cpp/engine/game_object.hpp:10:
  379. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.1/../../../../include/c++/5.4.1/algorithm:62:
  380. /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
  381. *__last = _GLIBCXX_MOVE(__val);
  382. ~~~~~~~ ^
  383. 17 errors generated.
  384. make[2]: *** [src/CMakeFiles/pyromaze.dir/cpp/engine/mesh/mesh_object_renderer.cpp.o] Error 1
  385. make[1]: *** [src/CMakeFiles/pyromaze.dir/all] Error 2
  386. make: *** [all] Error 2
  387. [Finished in 4.5s with exit code 2]
  388. [cmd: ['CC=clang-3.6 CXX=clang++-3.6 cmake -DCMAKE_BUILD_TYPE=Release .. && make -j4']]
  389. [dir: /home/icecool/projects/C++/OpenGL/pyromaze/build]
  390. [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