Advertisement
davidschep

Untitled

Mar 13th, 2022
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.57 KB | None | 0 0
  1. david@david-desktop:~/Desktop/hector$ catkin build
  2. ---------------------------------------------------------------
  3. Profile: default
  4. Extending: [env] /opt/ros/melodic
  5. Workspace: /home/david/Desktop/hector
  6. ---------------------------------------------------------------
  7. Build Space: [exists] /home/david/Desktop/hector/build
  8. Devel Space: [exists] /home/david/Desktop/hector/devel
  9. Install Space: [unused] /home/david/Desktop/hector/install
  10. Log Space: [missing] /home/david/Desktop/hector/logs
  11. Source Space: [exists] /home/david/Desktop/hector/src
  12. DESTDIR: [unused] None
  13. ---------------------------------------------------------------
  14. Devel Space Layout: linked
  15. Install Space Layout: None
  16. ---------------------------------------------------------------
  17. Additional CMake Args: None
  18. Additional Make Args: None
  19. Additional catkin Make Args: None
  20. Internal Make Job Server: True
  21. Cache Job Environments: False
  22. ---------------------------------------------------------------
  23. Whitelisted Packages: None
  24. Blacklisted Packages: None
  25. ---------------------------------------------------------------
  26. Workspace configuration appears valid.
  27.  
  28. NOTE: Forcing CMake to run for each package.
  29. ---------------------------------------------------------------
  30. [build] Found '13' packages in 0.0 seconds.
  31. [build] Updating package table.
  32. Starting >>> catkin_tools_prebuild
  33. Finished <<< catkin_tools_prebuild [ 1.5 seconds ]
  34. Starting >>> hector_imu_attitude_to_tf
  35. Starting >>> hector_imu_tools
  36. Starting >>> hector_map_tools
  37. Starting >>> hector_mapping
  38. Starting >>> hector_marker_drawing
  39. Starting >>> hector_nav_msgs
  40. Finished <<< hector_marker_drawing [ 2.2 seconds ]
  41. Finished <<< hector_map_tools [ 2.2 seconds ]
  42. Starting >>> hector_compressed_map_transport
  43. Finished <<< hector_nav_msgs [ 4.0 seconds ]
  44. Starting >>> hector_geotiff
  45. _______________________________________________________________________________
  46. Errors << hector_imu_tools:make /home/david/Desktop/hector/logs/hector_imu_tools/build.make.000.log
  47. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  48. from /opt/ros/melodic/include/ros/ros.h:45,
  49. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  50. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  51. Publisher& operator=(const Publisher& other) = default;
  52. ^
  53. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  54. from /opt/ros/melodic/include/ros/ros.h:45,
  55. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  56. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  57. Subscriber& operator=(const Subscriber& other) = default;
  58. ^
  59. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  60. from /opt/ros/melodic/include/ros/ros.h:45,
  61. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  62. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  63. ServiceServer& operator=(const ServiceServer& other) = default;
  64. ^
  65. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  66. from /opt/ros/melodic/include/ros/ros.h:45,
  67. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  68. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  69. ServiceClient& operator=(const ServiceClient& other) = default;
  70. ^
  71. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  72. from /opt/ros/melodic/include/ros/ros.h:45,
  73. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  74. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  75. Timer& operator=(const Timer& other) = default;
  76. ^
  77. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  78. from /opt/ros/melodic/include/ros/ros.h:45,
  79. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  80. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  81. WallTimer& operator=(const WallTimer& other) = default;
  82. ^
  83. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  84. from /opt/ros/melodic/include/ros/ros.h:45,
  85. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:30:
  86. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  87. SteadyTimer& operator=(const SteadyTimer& other) = default;
  88. ^
  89. In file included from /opt/ros/melodic/include/tf/transform_broadcaster.h:36:0,
  90. from /home/david/Desktop/hector/src/hector_slam/hector_imu_tools/src/pose_and_orientation_to_imu_node.cpp:31:
  91. /opt/ros/melodic/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  92. std::shared_ptr<tf2_ros::Buffer> getTF2BufferPtr() { return tf2_buffer_ptr_;};
  93. ^
  94. /opt/ros/melodic/include/tf/tf.h:403:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  95. std::shared_ptr<tf2_ros::Buffer> tf2_buffer_ptr_;
  96. ^
  97. /opt/ros/melodic/include/tf/tf.h: In member function ‘ros::Duration tf::Transformer::getCacheLength()’:
  98. /opt/ros/melodic/include/tf/tf.h:331:43: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  99. ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
  100. ^
  101. /opt/ros/melodic/include/tf/tf.h: In member function ‘void tf::Transformer::setUsingDedicatedThread(bool)’:
  102. /opt/ros/melodic/include/tf/tf.h:349:46: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  103. void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
  104. ^
  105. /opt/ros/melodic/include/tf/tf.h: In member function ‘bool tf::Transformer::isUsingDedicatedThread()’:
  106. /opt/ros/melodic/include/tf/tf.h:351:42: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  107. bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
  108. ^
  109. make[2]: *** [CMakeFiles/pose_and_orientation_to_imu_node.dir/src/pose_and_orientation_to_imu_node.cpp.o] Error 1
  110. make[1]: *** [CMakeFiles/pose_and_orientation_to_imu_node.dir/all] Error 2
  111. make: *** [all] Error 2
  112. cd /home/david/Desktop/hector/build/hector_imu_tools; catkin build --get-env hector_imu_tools | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  113. ...............................................................................
  114. Failed << hector_imu_tools:make [ Exited with code 2 ]
  115. Failed <<< hector_imu_tools [ 5.0 seconds ]
  116. Abandoned <<< hector_map_server [ Unrelated job failed ]
  117. Abandoned <<< hector_trajectory_server [ Unrelated job failed ]
  118. Abandoned <<< hector_geotiff_plugins [ Unrelated job failed ]
  119. Abandoned <<< hector_slam_launch [ Unrelated job failed ]
  120. _______________________________________________________________________________
  121. Errors << hector_imu_attitude_to_tf:make /home/david/Desktop/hector/logs/hector_imu_attitude_to_tf/build.make.000.log
  122. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  123. from /opt/ros/melodic/include/ros/ros.h:45,
  124. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  125. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  126. Publisher& operator=(const Publisher& other) = default;
  127. ^
  128. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  129. from /opt/ros/melodic/include/ros/ros.h:45,
  130. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  131. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  132. Subscriber& operator=(const Subscriber& other) = default;
  133. ^
  134. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  135. from /opt/ros/melodic/include/ros/ros.h:45,
  136. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  137. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  138. ServiceServer& operator=(const ServiceServer& other) = default;
  139. ^
  140. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  141. from /opt/ros/melodic/include/ros/ros.h:45,
  142. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  143. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  144. ServiceClient& operator=(const ServiceClient& other) = default;
  145. ^
  146. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  147. from /opt/ros/melodic/include/ros/ros.h:45,
  148. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  149. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  150. Timer& operator=(const Timer& other) = default;
  151. ^
  152. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  153. from /opt/ros/melodic/include/ros/ros.h:45,
  154. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  155. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  156. WallTimer& operator=(const WallTimer& other) = default;
  157. ^
  158. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  159. from /opt/ros/melodic/include/ros/ros.h:45,
  160. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:30:
  161. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  162. SteadyTimer& operator=(const SteadyTimer& other) = default;
  163. ^
  164. In file included from /opt/ros/melodic/include/tf/transform_broadcaster.h:36:0,
  165. from /home/david/Desktop/hector/src/hector_slam/hector_imu_attitude_to_tf/src/imu_attitude_to_tf_node.cpp:31:
  166. /opt/ros/melodic/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  167. std::shared_ptr<tf2_ros::Buffer> getTF2BufferPtr() { return tf2_buffer_ptr_;};
  168. ^
  169. /opt/ros/melodic/include/tf/tf.h:403:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  170. std::shared_ptr<tf2_ros::Buffer> tf2_buffer_ptr_;
  171. ^
  172. /opt/ros/melodic/include/tf/tf.h: In member function ‘ros::Duration tf::Transformer::getCacheLength()’:
  173. /opt/ros/melodic/include/tf/tf.h:331:43: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  174. ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
  175. ^
  176. /opt/ros/melodic/include/tf/tf.h: In member function ‘void tf::Transformer::setUsingDedicatedThread(bool)’:
  177. /opt/ros/melodic/include/tf/tf.h:349:46: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  178. void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
  179. ^
  180. /opt/ros/melodic/include/tf/tf.h: In member function ‘bool tf::Transformer::isUsingDedicatedThread()’:
  181. /opt/ros/melodic/include/tf/tf.h:351:42: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  182. bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
  183. ^
  184. make[2]: *** [CMakeFiles/imu_attitude_to_tf_node.dir/src/imu_attitude_to_tf_node.cpp.o] Error 1
  185. make[1]: *** [CMakeFiles/imu_attitude_to_tf_node.dir/all] Error 2
  186. make: *** [all] Error 2
  187. cd /home/david/Desktop/hector/build/hector_imu_attitude_to_tf; catkin build --get-env hector_imu_attitude_to_tf | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  188. ...............................................................................
  189. Failed << hector_imu_attitude_to_tf:make [ Exited with code 2 ]
  190. Failed <<< hector_imu_attitude_to_tf [ 5.1 seconds ]
  191. _______________________________________________________________________________
  192. Warnings << hector_compressed_map_transport:make /home/david/Desktop/hector/logs/hector_compressed_map_transport/build.make.000.log
  193. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  194. from /opt/ros/melodic/include/ros/ros.h:45,
  195. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  196. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  197. Publisher& operator=(const Publisher& other) = default;
  198. ^
  199. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  200. from /opt/ros/melodic/include/ros/ros.h:45,
  201. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  202. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  203. Subscriber& operator=(const Subscriber& other) = default;
  204. ^
  205. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  206. from /opt/ros/melodic/include/ros/ros.h:45,
  207. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  208. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  209. ServiceServer& operator=(const ServiceServer& other) = default;
  210. ^
  211. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  212. from /opt/ros/melodic/include/ros/ros.h:45,
  213. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  214. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  215. ServiceClient& operator=(const ServiceClient& other) = default;
  216. ^
  217. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  218. from /opt/ros/melodic/include/ros/ros.h:45,
  219. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  220. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  221. Timer& operator=(const Timer& other) = default;
  222. ^
  223. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  224. from /opt/ros/melodic/include/ros/ros.h:45,
  225. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  226. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  227. WallTimer& operator=(const WallTimer& other) = default;
  228. ^
  229. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  230. from /opt/ros/melodic/include/ros/ros.h:45,
  231. from /home/david/Desktop/hector/src/hector_slam/hector_compressed_map_transport/src/map_to_image_node.cpp:29:
  232. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  233. SteadyTimer& operator=(const SteadyTimer& other) = default;
  234. ^
  235. cd /home/david/Desktop/hector/build/hector_compressed_map_transport; catkin build --get-env hector_compressed_map_transport | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  236. ...............................................................................
  237. Finished <<< hector_compressed_map_transport [ 5.7 seconds ]
  238. _______________________________________________________________________________
  239. Errors << hector_geotiff:make /home/david/Desktop/hector/logs/hector_geotiff/build.make.000.log
  240. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  241. from /opt/ros/melodic/include/ros/ros.h:45,
  242. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  243. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  244. Publisher& operator=(const Publisher& other) = default;
  245. ^
  246. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  247. from /opt/ros/melodic/include/ros/ros.h:45,
  248. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  249. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  250. Subscriber& operator=(const Subscriber& other) = default;
  251. ^
  252. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  253. from /opt/ros/melodic/include/ros/ros.h:45,
  254. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  255. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  256. ServiceServer& operator=(const ServiceServer& other) = default;
  257. ^
  258. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  259. from /opt/ros/melodic/include/ros/ros.h:45,
  260. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  261. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  262. ServiceClient& operator=(const ServiceClient& other) = default;
  263. ^
  264. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  265. from /opt/ros/melodic/include/ros/ros.h:45,
  266. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  267. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  268. Timer& operator=(const Timer& other) = default;
  269. ^
  270. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  271. from /opt/ros/melodic/include/ros/ros.h:45,
  272. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  273. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  274. WallTimer& operator=(const WallTimer& other) = default;
  275. ^
  276. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  277. from /opt/ros/melodic/include/ros/ros.h:45,
  278. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_saver.cpp:30:
  279. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  280. SteadyTimer& operator=(const SteadyTimer& other) = default;
  281. ^
  282. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  283. from /opt/ros/melodic/include/ros/ros.h:45,
  284. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  285. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  286. Publisher& operator=(const Publisher& other) = default;
  287. ^
  288. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  289. from /opt/ros/melodic/include/ros/ros.h:45,
  290. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  291. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  292. Subscriber& operator=(const Subscriber& other) = default;
  293. ^
  294. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  295. from /opt/ros/melodic/include/ros/ros.h:45,
  296. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  297. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  298. ServiceServer& operator=(const ServiceServer& other) = default;
  299. ^
  300. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  301. from /opt/ros/melodic/include/ros/ros.h:45,
  302. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  303. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  304. ServiceClient& operator=(const ServiceClient& other) = default;
  305. ^
  306. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  307. from /opt/ros/melodic/include/ros/ros.h:45,
  308. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  309. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  310. Timer& operator=(const Timer& other) = default;
  311. ^
  312. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  313. from /opt/ros/melodic/include/ros/ros.h:45,
  314. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  315. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  316. WallTimer& operator=(const WallTimer& other) = default;
  317. ^
  318. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  319. from /opt/ros/melodic/include/ros/ros.h:45,
  320. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:30:
  321. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  322. SteadyTimer& operator=(const SteadyTimer& other) = default;
  323. ^
  324. In file included from /opt/ros/melodic/include/class_loader/class_loader.hpp:46:0,
  325. from /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:42,
  326. from /opt/ros/melodic/include/pluginlib/./class_loader.hpp:38,
  327. from /opt/ros/melodic/include/pluginlib/class_loader.h:35,
  328. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:32:
  329. /opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘void class_loader::impl::registerPlugin(const string&, const string&)’:
  330. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:183:7: error: ‘nullptr’ was not declared in this scope
  331. if (nullptr == getCurrentlyActiveClassLoader()) {
  332. ^
  333. /opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘Base* class_loader::impl::createInstance(const string&, class_loader::ClassLoader*)’:
  334. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:242:40: error: ‘nullptr’ was not declared in this scope
  335. AbstractMetaObject<Base> * factory = nullptr;
  336. ^
  337. /opt/ros/melodic/include/class_loader/class_loader_core.hpp: In function ‘std::vector<std::__cxx11::basic_string<char> > class_loader::impl::getAvailableClasses(class_loader::ClassLoader*)’:
  338. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:300:15: error: ISO C++ forbids declaration of ‘it’ with no type [-fpermissive]
  339. for (auto & it : factory_map) {
  340. ^
  341. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:300:20: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  342. for (auto & it : factory_map) {
  343. ^
  344. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:301:43: error: request for member ‘second’ in ‘it’, which is of non-class type ‘int’
  345. AbstractMetaObjectBase * factory = it.second;
  346. ^
  347. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:303:28: error: request for member ‘first’ in ‘it’, which is of non-class type ‘int’
  348. classes.push_back(it.first);
  349. ^
  350. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:304:35: error: ‘nullptr’ was not declared in this scope
  351. } else if (factory->isOwnedBy(nullptr)) {
  352. ^
  353. /opt/ros/melodic/include/class_loader/class_loader_core.hpp:305:42: error: request for member ‘first’ in ‘it’, which is of non-class type ‘int’
  354. classes_with_no_owner.push_back(it.first);
  355. ^
  356. In file included from /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:42:0,
  357. from /opt/ros/melodic/include/pluginlib/./class_loader.hpp:38,
  358. from /opt/ros/melodic/include/pluginlib/class_loader.h:35,
  359. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:32:
  360. /opt/ros/melodic/include/class_loader/class_loader.hpp: At global scope:
  361. /opt/ros/melodic/include/class_loader/class_loader.hpp:82:3: error: expected unqualified-id before ‘using’
  362. using DeleterType = std::function<void(Base *)>;
  363. ^
  364. /opt/ros/melodic/include/class_loader/class_loader.hpp:85:3: error: expected unqualified-id before ‘using’
  365. using UniquePtr = std::unique_ptr<Base, DeleterType<Base>>;
  366. ^
  367. /opt/ros/melodic/include/class_loader/class_loader.hpp:127:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  368. std::shared_ptr<Base> createSharedInstance(const std::string & derived_class_name)
  369. ^
  370. /opt/ros/melodic/include/class_loader/class_loader.hpp:160:3: error: ‘UniquePtr’ does not name a type
  371. UniquePtr<Base> createUniqueInstance(const std::string & derived_class_name)
  372. ^
  373. In file included from /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:42:0,
  374. from /opt/ros/melodic/include/pluginlib/./class_loader.hpp:38,
  375. from /opt/ros/melodic/include/pluginlib/class_loader.h:35,
  376. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:32:
  377. /opt/ros/melodic/include/class_loader/class_loader.hpp: In member function ‘void class_loader::ClassLoader::onPluginDeletion(Base*)’:
  378. /opt/ros/melodic/include/class_loader/class_loader.hpp:246:9: error: ‘nullptr’ was not declared in this scope
  379. if (nullptr == obj) {
  380. ^
  381. In file included from /usr/include/boost/assert.hpp:58:0,
  382. from /usr/include/boost/thread/future.hpp:47,
  383. from /usr/include/boost/thread.hpp:24,
  384. from /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:35,
  385. from /opt/ros/melodic/include/pluginlib/./class_loader.hpp:38,
  386. from /opt/ros/melodic/include/pluginlib/class_loader.h:35,
  387. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:32:
  388. /opt/ros/melodic/include/class_loader/class_loader.hpp: In member function ‘Base* class_loader::ClassLoader::createRawInstance(const string&, bool)’:
  389. /opt/ros/melodic/include/class_loader/class_loader.hpp:302:19: error: ‘nullptr’ was not declared in this scope
  390. assert(obj != nullptr); // Unreachable assertion if createInstance() throws on failure
  391. ^
  392. In file included from /opt/ros/melodic/include/pluginlib/./class_loader.hpp:38:0,
  393. from /opt/ros/melodic/include/pluginlib/class_loader.h:35,
  394. from /home/david/Desktop/hector/src/hector_slam/hector_geotiff/src/geotiff_node.cpp:32:
  395. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: At global scope:
  396. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:78:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  397. std::shared_ptr<Base> createSharedInstance(const std::string & class_name)
  398. ^
  399. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:105:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  400. std::shared_ptr<Base>
  401. ^
  402. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:164:16: error: ‘UniquePtr’ in ‘class class_loader::ClassLoader’ does not name a template type
  403. ClassLoader::UniquePtr<Base> createUniqueInstance(const std::string & class_name)
  404. ^
  405. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:185:16: error: ‘UniquePtr’ in ‘class class_loader::ClassLoader’ does not name a template type
  406. ClassLoader::UniquePtr<Base>
  407. ^
  408. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘boost::shared_ptr<X> class_loader::MultiLibraryClassLoader::createInstance(const string&)’:
  409. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:130:9: error: ‘nullptr’ was not declared in this scope
  410. if (nullptr == loader) {
  411. ^
  412. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘boost::shared_ptr<X> class_loader::MultiLibraryClassLoader::createInstance(const string&, const string&)’:
  413. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:150:9: error: ‘nullptr’ was not declared in this scope
  414. if (nullptr == loader) {
  415. ^
  416. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘Base* class_loader::MultiLibraryClassLoader::createUnmanagedInstance(const string&)’:
  417. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:210:9: error: ‘nullptr’ was not declared in this scope
  418. if (nullptr == loader) {
  419. ^
  420. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘Base* class_loader::MultiLibraryClassLoader::createUnmanagedInstance(const string&, const string&)’:
  421. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:229:9: error: ‘nullptr’ was not declared in this scope
  422. if (nullptr == loader) {
  423. ^
  424. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > class_loader::MultiLibraryClassLoader::getAvailableClasses()’:
  425. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:268:17: error: ISO C++ forbids declaration of ‘loader’ with no type [-fpermissive]
  426. for (auto & loader : getAllAvailableClassLoaders()) {
  427. ^
  428. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:268:26: warning: range-based ‘for’ loops only available with -std=c++11 or -std=gnu++11
  429. for (auto & loader : getAllAvailableClassLoaders()) {
  430. ^
  431. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:269:55: error: base operand of ‘->’ is not a pointer
  432. std::vector<std::string> loader_classes = loader->getAvailableClasses<Base>();
  433. ^
  434. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > class_loader::MultiLibraryClassLoader::getAvailableClassesForLibrary(const string&)’:
  435. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:285:9: error: ‘nullptr’ was not declared in this scope
  436. if (nullptr == loader) {
  437. ^
  438. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp: In member function ‘class_loader::ClassLoader* class_loader::MultiLibraryClassLoader::getClassLoaderForClass(const string&)’:
  439. /opt/ros/melodic/include/class_loader/multi_library_class_loader.hpp:342:12: error: ‘nullptr’ was not declared in this scope
  440. return nullptr;
  441. ^
  442. make[2]: *** [CMakeFiles/geotiff_node.dir/src/geotiff_node.cpp.o] Error 1
  443. make[1]: *** [CMakeFiles/geotiff_node.dir/all] Error 2
  444. make: *** [all] Error 2
  445. cd /home/david/Desktop/hector/build/hector_geotiff; catkin build --get-env hector_geotiff | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  446. ...............................................................................
  447. Failed << hector_geotiff:make [ Exited with code 2 ]
  448. Failed <<< hector_geotiff [ 7.1 seconds ]
  449. _______________________________________________________________________________
  450. Errors << hector_mapping:make /home/david/Desktop/hector/logs/hector_mapping/build.make.000.log
  451. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  452. from /opt/ros/melodic/include/ros/ros.h:45,
  453. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  454. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  455. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  456. Publisher& operator=(const Publisher& other) = default;
  457. ^
  458. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  459. from /opt/ros/melodic/include/ros/ros.h:45,
  460. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  461. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  462. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  463. Subscriber& operator=(const Subscriber& other) = default;
  464. ^
  465. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  466. from /opt/ros/melodic/include/ros/ros.h:45,
  467. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  468. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  469. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  470. ServiceServer& operator=(const ServiceServer& other) = default;
  471. ^
  472. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  473. from /opt/ros/melodic/include/ros/ros.h:45,
  474. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  475. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  476. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  477. ServiceClient& operator=(const ServiceClient& other) = default;
  478. ^
  479. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  480. from /opt/ros/melodic/include/ros/ros.h:45,
  481. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  482. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  483. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  484. Timer& operator=(const Timer& other) = default;
  485. ^
  486. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  487. from /opt/ros/melodic/include/ros/ros.h:45,
  488. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  489. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  490. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  491. WallTimer& operator=(const WallTimer& other) = default;
  492. ^
  493. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  494. from /opt/ros/melodic/include/ros/ros.h:45,
  495. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:32,
  496. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  497. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  498. SteadyTimer& operator=(const SteadyTimer& other) = default;
  499. ^
  500. In file included from /opt/ros/melodic/include/ros/node_handle.h:32:0,
  501. from /opt/ros/melodic/include/ros/ros.h:45,
  502. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  503. /opt/ros/melodic/include/ros/publisher.h:53:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  504. Publisher& operator=(const Publisher& other) = default;
  505. ^
  506. In file included from /opt/ros/melodic/include/ros/node_handle.h:33:0,
  507. from /opt/ros/melodic/include/ros/ros.h:45,
  508. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  509. /opt/ros/melodic/include/ros/subscriber.h:52:52: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  510. Subscriber& operator=(const Subscriber& other) = default;
  511. ^
  512. In file included from /opt/ros/melodic/include/ros/node_handle.h:34:0,
  513. from /opt/ros/melodic/include/ros/ros.h:45,
  514. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  515. /opt/ros/melodic/include/ros/service_server.h:51:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  516. ServiceServer& operator=(const ServiceServer& other) = default;
  517. ^
  518. In file included from /opt/ros/melodic/include/ros/node_handle.h:35:0,
  519. from /opt/ros/melodic/include/ros/ros.h:45,
  520. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  521. /opt/ros/melodic/include/ros/service_client.h:49:58: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  522. ServiceClient& operator=(const ServiceClient& other) = default;
  523. ^
  524. In file included from /opt/ros/melodic/include/ros/node_handle.h:36:0,
  525. from /opt/ros/melodic/include/ros/ros.h:45,
  526. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  527. /opt/ros/melodic/include/ros/timer.h:52:42: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  528. Timer& operator=(const Timer& other) = default;
  529. ^
  530. In file included from /opt/ros/melodic/include/ros/node_handle.h:38:0,
  531. from /opt/ros/melodic/include/ros/ros.h:45,
  532. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  533. /opt/ros/melodic/include/ros/wall_timer.h:52:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  534. WallTimer& operator=(const WallTimer& other) = default;
  535. ^
  536. In file included from /opt/ros/melodic/include/ros/node_handle.h:39:0,
  537. from /opt/ros/melodic/include/ros/ros.h:45,
  538. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:30:
  539. /opt/ros/melodic/include/ros/steady_timer.h:52:54: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
  540. SteadyTimer& operator=(const SteadyTimer& other) = default;
  541. ^
  542. In file included from /opt/ros/melodic/include/tf/transform_listener.h:38:0,
  543. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:34,
  544. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  545. /opt/ros/melodic/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  546. std::shared_ptr<tf2_ros::Buffer> getTF2BufferPtr() { return tf2_buffer_ptr_;};
  547. ^
  548. /opt/ros/melodic/include/tf/tf.h:403:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  549. std::shared_ptr<tf2_ros::Buffer> tf2_buffer_ptr_;
  550. ^
  551. /opt/ros/melodic/include/tf/tf.h: In member function ‘ros::Duration tf::Transformer::getCacheLength()’:
  552. /opt/ros/melodic/include/tf/tf.h:331:43: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  553. ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
  554. ^
  555. /opt/ros/melodic/include/tf/tf.h: In member function ‘void tf::Transformer::setUsingDedicatedThread(bool)’:
  556. /opt/ros/melodic/include/tf/tf.h:349:46: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  557. void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
  558. ^
  559. /opt/ros/melodic/include/tf/tf.h: In member function ‘bool tf::Transformer::isUsingDedicatedThread()’:
  560. /opt/ros/melodic/include/tf/tf.h:351:42: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  561. bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
  562. ^
  563. In file included from /opt/ros/melodic/include/ros/callback_queue.h:39:0,
  564. from /opt/ros/melodic/include/tf/transform_listener.h:40,
  565. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:34,
  566. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.cpp:29:
  567. /opt/ros/melodic/include/ros/internal/condition_variable.h: In member function ‘void ros::internal::condition_variable_monotonic::wait(boost::unique_lock<boost::mutex>&)’:
  568. /opt/ros/melodic/include/ros/internal/condition_variable.h:155:76: error: ‘>>’ should be ‘> >’ within a nested template argument list
  569. boost::thread_cv_detail::lock_on_exit<boost::unique_lock<boost::mutex>> guard;
  570. ^
  571. /opt/ros/melodic/include/ros/internal/condition_variable.h: In member function ‘bool ros::internal::condition_variable_monotonic::do_wait_until(boost::unique_lock<boost::mutex>&, const timespec&)’:
  572. /opt/ros/melodic/include/ros/internal/condition_variable.h:188:76: error: ‘>>’ should be ‘> >’ within a nested template argument list
  573. boost::thread_cv_detail::lock_on_exit<boost::unique_lock<boost::mutex>> guard;
  574. ^
  575. /opt/ros/melodic/include/ros/internal/condition_variable.h: At global scope:
  576. /opt/ros/melodic/include/ros/internal/condition_variable.h:219:14: error: expected constructor, destructor, or type conversion before ‘(’ token
  577. static_assert(
  578. ^
  579. In file included from /opt/ros/melodic/include/tf/transform_listener.h:38:0,
  580. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:34,
  581. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:32:
  582. /opt/ros/melodic/include/tf/tf.h:354:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  583. std::shared_ptr<tf2_ros::Buffer> getTF2BufferPtr() { return tf2_buffer_ptr_;};
  584. ^
  585. /opt/ros/melodic/include/tf/tf.h:403:8: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
  586. std::shared_ptr<tf2_ros::Buffer> tf2_buffer_ptr_;
  587. ^
  588. /opt/ros/melodic/include/tf/tf.h: In member function ‘ros::Duration tf::Transformer::getCacheLength()’:
  589. /opt/ros/melodic/include/tf/tf.h:331:43: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  590. ros::Duration getCacheLength() { return tf2_buffer_ptr_->getCacheLength();}
  591. ^
  592. /opt/ros/melodic/include/tf/tf.h: In member function ‘void tf::Transformer::setUsingDedicatedThread(bool)’:
  593. /opt/ros/melodic/include/tf/tf.h:349:46: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  594. void setUsingDedicatedThread(bool value) { tf2_buffer_ptr_->setUsingDedicatedThread(value);};
  595. ^
  596. /opt/ros/melodic/include/tf/tf.h: In member function ‘bool tf::Transformer::isUsingDedicatedThread()’:
  597. /opt/ros/melodic/include/tf/tf.h:351:42: error: ‘tf2_buffer_ptr_’ was not declared in this scope
  598. bool isUsingDedicatedThread() { return tf2_buffer_ptr_->isUsingDedicatedThread();};
  599. ^
  600. In file included from /opt/ros/melodic/include/ros/callback_queue.h:39:0,
  601. from /opt/ros/melodic/include/tf/transform_listener.h:40,
  602. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/HectorMappingRos.h:34,
  603. from /home/david/Desktop/hector/src/hector_slam/hector_mapping/src/main.cpp:32:
  604. /opt/ros/melodic/include/ros/internal/condition_variable.h: In member function ‘void ros::internal::condition_variable_monotonic::wait(boost::unique_lock<boost::mutex>&)’:
  605. /opt/ros/melodic/include/ros/internal/condition_variable.h:155:76: error: ‘>>’ should be ‘> >’ within a nested template argument list
  606. boost::thread_cv_detail::lock_on_exit<boost::unique_lock<boost::mutex>> guard;
  607. ^
  608. /opt/ros/melodic/include/ros/internal/condition_variable.h: In member function ‘bool ros::internal::condition_variable_monotonic::do_wait_until(boost::unique_lock<boost::mutex>&, const timespec&)’:
  609. /opt/ros/melodic/include/ros/internal/condition_variable.h:188:76: error: ‘>>’ should be ‘> >’ within a nested template argument list
  610. boost::thread_cv_detail::lock_on_exit<boost::unique_lock<boost::mutex>> guard;
  611. ^
  612. /opt/ros/melodic/include/ros/internal/condition_variable.h: At global scope:
  613. /opt/ros/melodic/include/ros/internal/condition_variable.h:219:14: error: expected constructor, destructor, or type conversion before ‘(’ token
  614. static_assert(
  615. ^
  616. make[2]: *** [CMakeFiles/hector_mapping.dir/src/main.cpp.o] Error 1
  617. make[2]: *** Waiting for unfinished jobs....
  618. make[2]: *** [CMakeFiles/hector_mapping.dir/src/HectorMappingRos.cpp.o] Error 1
  619. make[1]: *** [CMakeFiles/hector_mapping.dir/all] Error 2
  620. make: *** [all] Error 2
  621. cd /home/david/Desktop/hector/build/hector_mapping; catkin build --get-env hector_mapping | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
  622. ...............................................................................
  623. Failed << hector_mapping:make [ Exited with code 2 ]
  624. Failed <<< hector_mapping [ 11.2 seconds ]
  625. [build] Summary: 5 of 13 packages succeeded.
  626. [build] Ignored: 1 packages were skipped or are blacklisted.
  627. [build] Warnings: 1 packages succeeded with warnings.
  628. [build] Abandoned: 4 packages were abandoned.
  629. [build] Failed: 4 packages failed.
  630. [build] Runtime: 13.0 seconds total.
  631. [build] Note: Workspace packages have changed, please re-source setup files to use them.
  632.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement