fork download
  1. cmake_minimum_required(VERSION 3.0.2)
  2. project(my_explore_lite)
  3.  
  4. ## Compile as C++11, supported in ROS Kinetic and newer
  5. add_compile_options(-std=c++11)
  6.  
  7. ## Find catkin macros and libraries
  8. ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
  9. ## is used, also find other catkin packages
  10. find_package(catkin REQUIRED COMPONENTS
  11.  
  12. geometry_msgs
  13. roscpp
  14. std_msgs
  15. nav_msgs
  16. move_base_msgs
  17. actionlib
  18. costmap_2d
  19. move_base
  20.  
  21.  
  22. )
  23.  
  24. ## System dependencies are found with CMake's conventions
  25. find_package(Boost REQUIRED COMPONENTS system)
  26.  
  27.  
  28. ## Uncomment this if the package has a setup.py. This macro ensures
  29. ## modules and global scripts declared therein get installed
  30. ## See http://r...content-available-to-author-only...s.org/doc/api/catkin/html/user_guide/setup_dot_py.html
  31. # catkin_python_setup()
  32.  
  33. ################################################
  34. ## Declare ROS messages, services and actions ##
  35. ################################################
  36.  
  37. ## To declare and build messages, services or actions from within this
  38. ## package, follow these steps:
  39. ## * Let MSG_DEP_SET be the set of packages whose message types you use in
  40. ## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
  41. ## * In the file package.xml:
  42. ## * add a build_depend tag for "message_generation"
  43. ## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
  44. ## * If MSG_DEP_SET isn't empty the following dependency has been pulled in
  45. ## but can be declared for certainty nonetheless:
  46. ## * add a exec_depend tag for "message_runtime"
  47. ## * In this file (CMakeLists.txt):
  48. ## * add "message_generation" and every package in MSG_DEP_SET to
  49. ## find_package(catkin REQUIRED COMPONENTS ...)
  50. ## * add "message_runtime" and every package in MSG_DEP_SET to
  51. ## catkin_package(CATKIN_DEPENDS ...)
  52. ## * uncomment the add_*_files sections below as needed
  53. ## and list every .msg/.srv/.action file to be processed
  54. ## * uncomment the generate_messages entry below
  55. ## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
  56.  
  57. ## Generate messages in the 'msg' folder
  58. # add_message_files(
  59. # FILES
  60. # Message1.msg
  61. # Message2.msg
  62. # )
  63.  
  64. ## Generate services in the 'srv' folder
  65. # add_service_files(
  66. # FILES
  67. # Service1.srv
  68. # Service2.srv
  69. # )
  70.  
  71. ## Generate actions in the 'action' folder
  72. # add_action_files(
  73. # FILES
  74. # Action1.action
  75. # Action2.action
  76. # )
  77.  
  78. ## Generate added messages and services with any dependencies listed here
  79.  
  80.  
  81. ################################################
  82. ## Declare ROS dynamic reconfigure parameters ##
  83. ################################################
  84.  
  85. ## To declare and build dynamic reconfigure parameters within this
  86. ## package, follow these steps:
  87. ## * In the file package.xml:
  88. ## * add a build_depend and a exec_depend tag for "dynamic_reconfigure"
  89. ## * In this file (CMakeLists.txt):
  90. ## * add "dynamic_reconfigure" to
  91. ## find_package(catkin REQUIRED COMPONENTS ...)
  92. ## * uncomment the "generate_dynamic_reconfigure_options" section below
  93. ## and list every .cfg file to be processed
  94.  
  95. ## Generate dynamic reconfigure parameters in the 'cfg' folder
  96. # generate_dynamic_reconfigure_options(
  97. # cfg/DynReconf1.cfg
  98. # cfg/DynReconf2.cfg
  99. # )
  100.  
  101. ###################################
  102. ## catkin specific configuration ##
  103. ###################################
  104. ## The catkin_package macro generates cmake config files for your package
  105. ## Declare things to be passed to dependent projects
  106. ## INCLUDE_DIRS: uncomment this if your package contains header files
  107. ## LIBRARIES: libraries you create in this project that dependent projects also need
  108. ## CATKIN_DEPENDS: catkin_packages dependent projects also need
  109. ## DEPENDS: system dependencies of this project that dependent projects also need
  110. catkin_package(
  111. CATKIN_DEPENDS
  112. nav_msgs
  113. roscpp
  114. std_msgs
  115. message_runtime
  116. move_base_msgs
  117. move_base
  118.  
  119. )
  120.  
  121. ###########
  122. ## Build ##
  123. ###########
  124.  
  125. ## Specify additional locations of header files
  126. ## Your package locations should be listed before other locations
  127. include_directories(
  128. include
  129. ${catkin_INCLUDE_DIRS}
  130. ${Boost_INCLUDE_DIRS}
  131.  
  132. )
  133.  
  134. ## Declare a C++ library
  135. #add_library(${PROJECT_NAME}
  136.  
  137.  
  138.  
  139. # src/${PROJECT_NAME}/my_explore_lite.cpp
  140. # )
  141.  
  142. ## Add cmake target dependencies of the library
  143. ## as an example, code may need to be generated before libraries
  144. ## either from message generation or dynamic reconfigure
  145. #add_dependencies(explore_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
  146.  
  147. ## Declare a C++ executable
  148. ## With catkin_make all packages are built within a single CMake context
  149. ## The recommended prefix ensures that target names across packages don't collide
  150. # add_executable(${PROJECT_NAME}_node src/my_explore_lite_node.cpp)
  151.  
  152. ## Rename C++ executable without prefix
  153. ## The above recommended prefix causes long target names, the following renames the
  154. ## target back to the shorter version for ease of user use
  155. ## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
  156. # set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")
  157.  
  158. ## Add cmake target dependencies of the executable
  159. ## same as for the library above
  160. # add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
  161.  
  162. ## Specify libraries to link a library or executable target against
  163. # target_link_libraries(${PROJECT_NAME}_node
  164. # ${catkin_LIBRARIES}
  165. # )
  166.  
  167. #############
  168. ## Install ##
  169. #############
  170.  
  171. # all install targets should use catkin DESTINATION variables
  172. # See http://r...content-available-to-author-only...s.org/doc/api/catkin/html/adv_user_guide/variables.html
  173.  
  174. ## Mark executable scripts (Python etc.) for installation
  175. ## in contrast to setup.py, you can choose the destination
  176. # catkin_install_python(PROGRAMS
  177. # scripts/my_python_script
  178. # DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  179. # )
  180.  
  181. ## Mark executables for installation
  182. ## See http://d...content-available-to-author-only...s.org/melodic/api/catkin/html/howto/format1/building_executables.html
  183. # install(TARGETS ${PROJECT_NAME}_node
  184. # RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
  185. # )
  186.  
  187. ## Mark libraries for installation
  188. ## See http://d...content-available-to-author-only...s.org/melodic/api/catkin/html/howto/format1/building_libraries.html
  189. # install(TARGETS ${PROJECT_NAME}
  190. # ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  191. # LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
  192. # RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
  193. # )
  194.  
  195. ## Mark cpp header files for installation
  196. # install(DIRECTORY include/${PROJECT_NAME}/
  197. # DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
  198. # FILES_MATCHING PATTERN "*.h"
  199. # PATTERN ".svn" EXCLUDE
  200. # )
  201.  
  202. ## Mark other files for installation (e.g. launch and bag files, etc.)
  203. # install(FILES
  204. # # myfile1
  205. # # myfile2
  206. # DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
  207. # )
  208.  
  209.  
  210. add_executable(explore_node src/main.cpp)
  211.  
  212. target_link_libraries(
  213. explore_node
  214. ${catkin_LIBRARIES}
  215. ${Boost_LIBRARIES}
  216. )
  217.  
  218.  
  219.  
  220. #############
  221. ## Testing ##
  222. #############
  223.  
  224. ## Add gtest based cpp test target and link libraries
  225. # catkin_add_gtest(${PROJECT_NAME}-test test/test_my_explore_lite.cpp)
  226. # if(TARGET ${PROJECT_NAME}-test)
  227. # target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
  228. # endif()
  229.  
  230. ## Add folders to be run by python nosetests
  231. # catkin_add_nosetests(test)
  232.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:32: error: too many decimal points in number
 cmake_minimum_required(VERSION 3.0.2)
                                ^~~~~
prog.cpp:4:1: error: stray ‘##’ in program
 ## Compile as C++11, supported in ROS Kinetic and newer
 ^~
prog.cpp:7:1: error: stray ‘##’ in program
 ## Find catkin macros and libraries
 ^~
prog.cpp:8:1: error: stray ‘##’ in program
 ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
 ^~
prog.cpp:9:1: error: stray ‘##’ in program
 ## is used, also find other catkin packages
 ^~
prog.cpp:24:1: error: stray ‘##’ in program
 ## System dependencies are found with CMake's conventions
 ^~
prog.cpp:24:44: warning: missing terminating ' character
 ## System dependencies are found with CMake's conventions
                                            ^
prog.cpp:24:44: error: missing terminating ' character
 ## System dependencies are found with CMake's conventions
                                            ^~~~~~~~~~~~~~
prog.cpp:28:1: error: stray ‘##’ in program
 ## Uncomment this if the package has a setup.py. This macro ensures
 ^~
prog.cpp:29:1: error: stray ‘##’ in program
 ## modules and global scripts declared therein get installed
 ^~
prog.cpp:30:1: error: stray ‘##’ in program
 ## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
 ^~
prog.cpp:31:3: error: invalid preprocessing directive #catkin_python_setup
 # catkin_python_setup()
   ^~~~~~~~~~~~~~~~~~~
prog.cpp:33:1: error: stray ‘##’ in program
 ################################################
 ^~
prog.cpp:33:3: error: stray ‘##’ in program
 ################################################
   ^~
prog.cpp:33:5: error: stray ‘##’ in program
 ################################################
     ^~
prog.cpp:33:7: error: stray ‘##’ in program
 ################################################
       ^~
prog.cpp:33:9: error: stray ‘##’ in program
 ################################################
         ^~
prog.cpp:33:11: error: stray ‘##’ in program
 ################################################
           ^~
prog.cpp:33:13: error: stray ‘##’ in program
 ################################################
             ^~
prog.cpp:33:15: error: stray ‘##’ in program
 ################################################
               ^~
prog.cpp:33:17: error: stray ‘##’ in program
 ################################################
                 ^~
prog.cpp:33:19: error: stray ‘##’ in program
 ################################################
                   ^~
prog.cpp:33:21: error: stray ‘##’ in program
 ################################################
                     ^~
prog.cpp:33:23: error: stray ‘##’ in program
 ################################################
                       ^~
prog.cpp:33:25: error: stray ‘##’ in program
 ################################################
                         ^~
prog.cpp:33:27: error: stray ‘##’ in program
 ################################################
                           ^~
prog.cpp:33:29: error: stray ‘##’ in program
 ################################################
                             ^~
prog.cpp:33:31: error: stray ‘##’ in program
 ################################################
                               ^~
prog.cpp:33:33: error: stray ‘##’ in program
 ################################################
                                 ^~
prog.cpp:33:35: error: stray ‘##’ in program
 ################################################
                                   ^~
prog.cpp:33:37: error: stray ‘##’ in program
 ################################################
                                     ^~
prog.cpp:33:39: error: stray ‘##’ in program
 ################################################
                                       ^~
prog.cpp:33:41: error: stray ‘##’ in program
 ################################################
                                         ^~
prog.cpp:33:43: error: stray ‘##’ in program
 ################################################
                                           ^~
prog.cpp:33:45: error: stray ‘##’ in program
 ################################################
                                             ^~
prog.cpp:33:47: error: stray ‘##’ in program
 ################################################
                                               ^~
prog.cpp:34:1: error: stray ‘##’ in program
 ## Declare ROS messages, services and actions ##
 ^~
prog.cpp:34:47: error: stray ‘##’ in program
 ## Declare ROS messages, services and actions ##
                                               ^~
prog.cpp:35:1: error: stray ‘##’ in program
 ################################################
 ^~
prog.cpp:35:3: error: stray ‘##’ in program
 ################################################
   ^~
prog.cpp:35:5: error: stray ‘##’ in program
 ################################################
     ^~
prog.cpp:35:7: error: stray ‘##’ in program
 ################################################
       ^~
prog.cpp:35:9: error: stray ‘##’ in program
 ################################################
         ^~
prog.cpp:35:11: error: stray ‘##’ in program
 ################################################
           ^~
prog.cpp:35:13: error: stray ‘##’ in program
 ################################################
             ^~
prog.cpp:35:15: error: stray ‘##’ in program
 ################################################
               ^~
prog.cpp:35:17: error: stray ‘##’ in program
 ################################################
                 ^~
prog.cpp:35:19: error: stray ‘##’ in program
 ################################################
                   ^~
prog.cpp:35:21: error: stray ‘##’ in program
 ################################################
                     ^~
prog.cpp:35:23: error: stray ‘##’ in program
 ################################################
                       ^~
prog.cpp:35:25: error: stray ‘##’ in program
 ################################################
                         ^~
prog.cpp:35:27: error: stray ‘##’ in program
 ################################################
                           ^~
prog.cpp:35:29: error: stray ‘##’ in program
 ################################################
                             ^~
prog.cpp:35:31: error: stray ‘##’ in program
 ################################################
                               ^~
prog.cpp:35:33: error: stray ‘##’ in program
 ################################################
                                 ^~
prog.cpp:35:35: error: stray ‘##’ in program
 ################################################
                                   ^~
prog.cpp:35:37: error: stray ‘##’ in program
 ################################################
                                     ^~
prog.cpp:35:39: error: stray ‘##’ in program
 ################################################
                                       ^~
prog.cpp:35:41: error: stray ‘##’ in program
 ################################################
                                         ^~
prog.cpp:35:43: error: stray ‘##’ in program
 ################################################
                                           ^~
prog.cpp:35:45: error: stray ‘##’ in program
 ################################################
                                             ^~
prog.cpp:35:47: error: stray ‘##’ in program
 ################################################
                                               ^~
prog.cpp:37:1: error: stray ‘##’ in program
 ## To declare and build messages, services or actions from within this
 ^~
prog.cpp:38:1: error: stray ‘##’ in program
 ## package, follow these steps:
 ^~
prog.cpp:39:1: error: stray ‘##’ in program
 ## * Let MSG_DEP_SET be the set of packages whose message types you use in
 ^~
prog.cpp:40:1: error: stray ‘##’ in program
 ##   your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
 ^~
prog.cpp:41:1: error: stray ‘##’ in program
 ## * In the file package.xml:
 ^~
prog.cpp:42:1: error: stray ‘##’ in program
 ##   * add a build_depend tag for "message_generation"
 ^~
prog.cpp:43:1: error: stray ‘##’ in program
 ##   * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
 ^~
prog.cpp:44:1: error: stray ‘##’ in program
 ##   * If MSG_DEP_SET isn't empty the following dependency has been pulled in
 ^~
prog.cpp:44:26: warning: missing terminating ' character
 ##   * If MSG_DEP_SET isn't empty the following dependency has been pulled in
                          ^
prog.cpp:44:26: error: missing terminating ' character
 ##   * If MSG_DEP_SET isn't empty the following dependency has been pulled in
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:45:1: error: stray ‘##’ in program
 ##     but can be declared for certainty nonetheless:
 ^~
prog.cpp:46:1: error: stray ‘##’ in program
 ##     * add a exec_depend tag for "message_runtime"
 ^~
prog.cpp:47:1: error: stray ‘##’ in program
 ## * In this file (CMakeLists.txt):
 ^~
prog.cpp:48:1: error: stray ‘##’ in program
 ##   * add "message_generation" and every package in MSG_DEP_SET to
 ^~
prog.cpp:49:1: error: stray ‘##’ in program
 ##     find_package(catkin REQUIRED COMPONENTS ...)
 ^~
prog.cpp:50:1: error: stray ‘##’ in program
 ##   * add "message_runtime" and every package in MSG_DEP_SET to
 ^~
prog.cpp:51:1: error: stray ‘##’ in program
 ##     catkin_package(CATKIN_DEPENDS ...)
 ^~
prog.cpp:52:1: error: stray ‘##’ in program
 ##   * uncomment the add_*_files sections below as needed
 ^~
prog.cpp:53:1: error: stray ‘##’ in program
 ##     and list every .msg/.srv/.action file to be processed
 ^~
prog.cpp:54:1: error: stray ‘##’ in program
 ##   * uncomment the generate_messages entry below
 ^~
prog.cpp:55:1: error: stray ‘##’ in program
 ##   * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
 ^~
prog.cpp:57:1: error: stray ‘##’ in program
 ## Generate messages in the 'msg' folder
 ^~
prog.cpp:57:29: warning: multi-character character constant [-Wmultichar]
 ## Generate messages in the 'msg' folder
                             ^~~~~
prog.cpp:58:3: error: invalid preprocessing directive #add_message_files
 # add_message_files(
   ^~~~~~~~~~~~~~~~~
prog.cpp:59:5: error: invalid preprocessing directive #FILES
 #   FILES
     ^~~~~
prog.cpp:60:5: error: invalid preprocessing directive #Message1
 #   Message1.msg
     ^~~~~~~~
prog.cpp:61:5: error: invalid preprocessing directive #Message2
 #   Message2.msg
     ^~~~~~~~
prog.cpp:62:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:64:1: error: stray ‘##’ in program
 ## Generate services in the 'srv' folder
 ^~
prog.cpp:64:29: warning: multi-character character constant [-Wmultichar]
 ## Generate services in the 'srv' folder
                             ^~~~~
prog.cpp:65:3: error: invalid preprocessing directive #add_service_files
 # add_service_files(
   ^~~~~~~~~~~~~~~~~
prog.cpp:66:5: error: invalid preprocessing directive #FILES
 #   FILES
     ^~~~~
prog.cpp:67:5: error: invalid preprocessing directive #Service1
 #   Service1.srv
     ^~~~~~~~
prog.cpp:68:5: error: invalid preprocessing directive #Service2
 #   Service2.srv
     ^~~~~~~~
prog.cpp:69:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:71:1: error: stray ‘##’ in program
 ## Generate actions in the 'action' folder
 ^~
prog.cpp:71:28: warning: character constant too long for its type
 ## Generate actions in the 'action' folder
                            ^~~~~~~~
prog.cpp:72:3: error: invalid preprocessing directive #add_action_files
 # add_action_files(
   ^~~~~~~~~~~~~~~~
prog.cpp:73:5: error: invalid preprocessing directive #FILES
 #   FILES
     ^~~~~
prog.cpp:74:5: error: invalid preprocessing directive #Action1
 #   Action1.action
     ^~~~~~~
prog.cpp:75:5: error: invalid preprocessing directive #Action2
 #   Action2.action
     ^~~~~~~
prog.cpp:76:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:78:1: error: stray ‘##’ in program
 ## Generate added messages and services with any dependencies listed here
 ^~
prog.cpp:81:1: error: stray ‘##’ in program
 ################################################
 ^~
prog.cpp:81:3: error: stray ‘##’ in program
 ################################################
   ^~
prog.cpp:81:5: error: stray ‘##’ in program
 ################################################
     ^~
prog.cpp:81:7: error: stray ‘##’ in program
 ################################################
       ^~
prog.cpp:81:9: error: stray ‘##’ in program
 ################################################
         ^~
prog.cpp:81:11: error: stray ‘##’ in program
 ################################################
           ^~
prog.cpp:81:13: error: stray ‘##’ in program
 ################################################
             ^~
prog.cpp:81:15: error: stray ‘##’ in program
 ################################################
               ^~
prog.cpp:81:17: error: stray ‘##’ in program
 ################################################
                 ^~
prog.cpp:81:19: error: stray ‘##’ in program
 ################################################
                   ^~
prog.cpp:81:21: error: stray ‘##’ in program
 ################################################
                     ^~
prog.cpp:81:23: error: stray ‘##’ in program
 ################################################
                       ^~
prog.cpp:81:25: error: stray ‘##’ in program
 ################################################
                         ^~
prog.cpp:81:27: error: stray ‘##’ in program
 ################################################
                           ^~
prog.cpp:81:29: error: stray ‘##’ in program
 ################################################
                             ^~
prog.cpp:81:31: error: stray ‘##’ in program
 ################################################
                               ^~
prog.cpp:81:33: error: stray ‘##’ in program
 ################################################
                                 ^~
prog.cpp:81:35: error: stray ‘##’ in program
 ################################################
                                   ^~
prog.cpp:81:37: error: stray ‘##’ in program
 ################################################
                                     ^~
prog.cpp:81:39: error: stray ‘##’ in program
 ################################################
                                       ^~
prog.cpp:81:41: error: stray ‘##’ in program
 ################################################
                                         ^~
prog.cpp:81:43: error: stray ‘##’ in program
 ################################################
                                           ^~
prog.cpp:81:45: error: stray ‘##’ in program
 ################################################
                                             ^~
prog.cpp:81:47: error: stray ‘##’ in program
 ################################################
                                               ^~
prog.cpp:82:1: error: stray ‘##’ in program
 ## Declare ROS dynamic reconfigure parameters ##
 ^~
prog.cpp:82:47: error: stray ‘##’ in program
 ## Declare ROS dynamic reconfigure parameters ##
                                               ^~
prog.cpp:83:1: error: stray ‘##’ in program
 ################################################
 ^~
prog.cpp:83:3: error: stray ‘##’ in program
 ################################################
   ^~
prog.cpp:83:5: error: stray ‘##’ in program
 ################################################
     ^~
prog.cpp:83:7: error: stray ‘##’ in program
 ################################################
       ^~
prog.cpp:83:9: error: stray ‘##’ in program
 ################################################
         ^~
prog.cpp:83:11: error: stray ‘##’ in program
 ################################################
           ^~
prog.cpp:83:13: error: stray ‘##’ in program
 ################################################
             ^~
prog.cpp:83:15: error: stray ‘##’ in program
 ################################################
               ^~
prog.cpp:83:17: error: stray ‘##’ in program
 ################################################
                 ^~
prog.cpp:83:19: error: stray ‘##’ in program
 ################################################
                   ^~
prog.cpp:83:21: error: stray ‘##’ in program
 ################################################
                     ^~
prog.cpp:83:23: error: stray ‘##’ in program
 ################################################
                       ^~
prog.cpp:83:25: error: stray ‘##’ in program
 ################################################
                         ^~
prog.cpp:83:27: error: stray ‘##’ in program
 ################################################
                           ^~
prog.cpp:83:29: error: stray ‘##’ in program
 ################################################
                             ^~
prog.cpp:83:31: error: stray ‘##’ in program
 ################################################
                               ^~
prog.cpp:83:33: error: stray ‘##’ in program
 ################################################
                                 ^~
prog.cpp:83:35: error: stray ‘##’ in program
 ################################################
                                   ^~
prog.cpp:83:37: error: stray ‘##’ in program
 ################################################
                                     ^~
prog.cpp:83:39: error: stray ‘##’ in program
 ################################################
                                       ^~
prog.cpp:83:41: error: stray ‘##’ in program
 ################################################
                                         ^~
prog.cpp:83:43: error: stray ‘##’ in program
 ################################################
                                           ^~
prog.cpp:83:45: error: stray ‘##’ in program
 ################################################
                                             ^~
prog.cpp:83:47: error: stray ‘##’ in program
 ################################################
                                               ^~
prog.cpp:85:1: error: stray ‘##’ in program
 ## To declare and build dynamic reconfigure parameters within this
 ^~
prog.cpp:86:1: error: stray ‘##’ in program
 ## package, follow these steps:
 ^~
prog.cpp:87:1: error: stray ‘##’ in program
 ## * In the file package.xml:
 ^~
prog.cpp:88:1: error: stray ‘##’ in program
 ##   * add a build_depend and a exec_depend tag for "dynamic_reconfigure"
 ^~
prog.cpp:89:1: error: stray ‘##’ in program
 ## * In this file (CMakeLists.txt):
 ^~
prog.cpp:90:1: error: stray ‘##’ in program
 ##   * add "dynamic_reconfigure" to
 ^~
prog.cpp:91:1: error: stray ‘##’ in program
 ##     find_package(catkin REQUIRED COMPONENTS ...)
 ^~
prog.cpp:92:1: error: stray ‘##’ in program
 ##   * uncomment the "generate_dynamic_reconfigure_options" section below
 ^~
prog.cpp:93:1: error: stray ‘##’ in program
 ##     and list every .cfg file to be processed
 ^~
prog.cpp:95:1: error: stray ‘##’ in program
 ## Generate dynamic reconfigure parameters in the 'cfg' folder
 ^~
prog.cpp:95:51: warning: multi-character character constant [-Wmultichar]
 ## Generate dynamic reconfigure parameters in the 'cfg' folder
                                                   ^~~~~
prog.cpp:96:3: error: invalid preprocessing directive #generate_dynamic_reconfigure_options
 # generate_dynamic_reconfigure_options(
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:97:5: error: invalid preprocessing directive #cfg
 #   cfg/DynReconf1.cfg
     ^~~
prog.cpp:98:5: error: invalid preprocessing directive #cfg
 #   cfg/DynReconf2.cfg
     ^~~
prog.cpp:99:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:101:1: error: stray ‘##’ in program
 ###################################
 ^~
prog.cpp:101:3: error: stray ‘##’ in program
 ###################################
   ^~
prog.cpp:101:5: error: stray ‘##’ in program
 ###################################
     ^~
prog.cpp:101:7: error: stray ‘##’ in program
 ###################################
       ^~
prog.cpp:101:9: error: stray ‘##’ in program
 ###################################
         ^~
prog.cpp:101:11: error: stray ‘##’ in program
 ###################################
           ^~
prog.cpp:101:13: error: stray ‘##’ in program
 ###################################
             ^~
prog.cpp:101:15: error: stray ‘##’ in program
 ###################################
               ^~
prog.cpp:101:17: error: stray ‘##’ in program
 ###################################
                 ^~
prog.cpp:101:19: error: stray ‘##’ in program
 ###################################
                   ^~
prog.cpp:101:21: error: stray ‘##’ in program
 ###################################
                     ^~
prog.cpp:101:23: error: stray ‘##’ in program
 ###################################
                       ^~
prog.cpp:101:25: error: stray ‘##’ in program
 ###################################
                         ^~
prog.cpp:101:27: error: stray ‘##’ in program
 ###################################
                           ^~
prog.cpp:101:29: error: stray ‘##’ in program
 ###################################
                             ^~
prog.cpp:101:31: error: stray ‘##’ in program
 ###################################
                               ^~
prog.cpp:101:33: error: stray ‘##’ in program
 ###################################
                                 ^~
prog.cpp:101:35: error: stray ‘#’ in program
 ###################################
                                   ^
prog.cpp:102:1: error: stray ‘##’ in program
 ## catkin specific configuration ##
 ^~
prog.cpp:102:34: error: stray ‘##’ in program
 ## catkin specific configuration ##
                                  ^~
prog.cpp:103:1: error: stray ‘##’ in program
 ###################################
 ^~
prog.cpp:103:3: error: stray ‘##’ in program
 ###################################
   ^~
prog.cpp:103:5: error: stray ‘##’ in program
 ###################################
     ^~
prog.cpp:103:7: error: stray ‘##’ in program
 ###################################
       ^~
prog.cpp:103:9: error: stray ‘##’ in program
 ###################################
         ^~
prog.cpp:103:11: error: stray ‘##’ in program
 ###################################
           ^~
prog.cpp:103:13: error: stray ‘##’ in program
 ###################################
             ^~
prog.cpp:103:15: error: stray ‘##’ in program
 ###################################
               ^~
prog.cpp:103:17: error: stray ‘##’ in program
 ###################################
                 ^~
prog.cpp:103:19: error: stray ‘##’ in program
 ###################################
                   ^~
prog.cpp:103:21: error: stray ‘##’ in program
 ###################################
                     ^~
prog.cpp:103:23: error: stray ‘##’ in program
 ###################################
                       ^~
prog.cpp:103:25: error: stray ‘##’ in program
 ###################################
                         ^~
prog.cpp:103:27: error: stray ‘##’ in program
 ###################################
                           ^~
prog.cpp:103:29: error: stray ‘##’ in program
 ###################################
                             ^~
prog.cpp:103:31: error: stray ‘##’ in program
 ###################################
                               ^~
prog.cpp:103:33: error: stray ‘##’ in program
 ###################################
                                 ^~
prog.cpp:103:35: error: stray ‘#’ in program
 ###################################
                                   ^
prog.cpp:104:1: error: stray ‘##’ in program
 ## The catkin_package macro generates cmake config files for your package
 ^~
prog.cpp:105:1: error: stray ‘##’ in program
 ## Declare things to be passed to dependent projects
 ^~
prog.cpp:106:1: error: stray ‘##’ in program
 ## INCLUDE_DIRS: uncomment this if your package contains header files
 ^~
prog.cpp:107:1: error: stray ‘##’ in program
 ## LIBRARIES: libraries you create in this project that dependent projects also need
 ^~
prog.cpp:108:1: error: stray ‘##’ in program
 ## CATKIN_DEPENDS: catkin_packages dependent projects also need
 ^~
prog.cpp:109:1: error: stray ‘##’ in program
 ## DEPENDS: system dependencies of this project that dependent projects also need
 ^~
prog.cpp:121:1: error: stray ‘##’ in program
 ###########
 ^~
prog.cpp:121:3: error: stray ‘##’ in program
 ###########
   ^~
prog.cpp:121:5: error: stray ‘##’ in program
 ###########
     ^~
prog.cpp:121:7: error: stray ‘##’ in program
 ###########
       ^~
prog.cpp:121:9: error: stray ‘##’ in program
 ###########
         ^~
prog.cpp:121:11: error: stray ‘#’ in program
 ###########
           ^
prog.cpp:122:1: error: stray ‘##’ in program
 ## Build ##
 ^~
prog.cpp:122:10: error: stray ‘##’ in program
 ## Build ##
          ^~
prog.cpp:123:1: error: stray ‘##’ in program
 ###########
 ^~
prog.cpp:123:3: error: stray ‘##’ in program
 ###########
   ^~
prog.cpp:123:5: error: stray ‘##’ in program
 ###########
     ^~
prog.cpp:123:7: error: stray ‘##’ in program
 ###########
       ^~
prog.cpp:123:9: error: stray ‘##’ in program
 ###########
         ^~
prog.cpp:123:11: error: stray ‘#’ in program
 ###########
           ^
prog.cpp:125:1: error: stray ‘##’ in program
 ## Specify additional locations of header files
 ^~
prog.cpp:126:1: error: stray ‘##’ in program
 ## Your package locations should be listed before other locations
 ^~
prog.cpp:134:1: error: stray ‘##’ in program
 ## Declare a C++ library
 ^~
prog.cpp:135:2: error: invalid preprocessing directive #add_library
 #add_library(${PROJECT_NAME}
  ^~~~~~~~~~~
prog.cpp:139:5: error: invalid preprocessing directive #src; did you mean #sccs?
 #   src/${PROJECT_NAME}/my_explore_lite.cpp
     ^~~
     sccs
prog.cpp:140:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:142:1: error: stray ‘##’ in program
 ## Add cmake target dependencies of the library
 ^~
prog.cpp:143:1: error: stray ‘##’ in program
 ## as an example, code may need to be generated before libraries
 ^~
prog.cpp:144:1: error: stray ‘##’ in program
 ## either from message generation or dynamic reconfigure
 ^~
prog.cpp:145:2: error: invalid preprocessing directive #add_dependencies
 #add_dependencies(explore_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
  ^~~~~~~~~~~~~~~~
prog.cpp:147:1: error: stray ‘##’ in program
 ## Declare a C++ executable
 ^~
prog.cpp:148:1: error: stray ‘##’ in program
 ## With catkin_make all packages are built within a single CMake context
 ^~
prog.cpp:149:1: error: stray ‘##’ in program
 ## The recommended prefix ensures that target names across packages don't collide
 ^~
prog.cpp:149:72: warning: missing terminating ' character
 ## The recommended prefix ensures that target names across packages don't collide
                                                                        ^
prog.cpp:149:72: error: missing terminating ' character
 ## The recommended prefix ensures that target names across packages don't collide
                                                                        ^~~~~~~~~~
prog.cpp:150:3: error: invalid preprocessing directive #add_executable
 # add_executable(${PROJECT_NAME}_node src/my_explore_lite_node.cpp)
   ^~~~~~~~~~~~~~
prog.cpp:152:1: error: stray ‘##’ in program
 ## Rename C++ executable without prefix
 ^~
prog.cpp:153:1: error: stray ‘##’ in program
 ## The above recommended prefix causes long target names, the following renames the
 ^~
prog.cpp:154:1: error: stray ‘##’ in program
 ## target back to the shorter version for ease of user use
 ^~
prog.cpp:155:1: error: stray ‘##’ in program
 ## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
 ^~
prog.cpp:156:3: error: invalid preprocessing directive #set_target_properties
 # set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")
   ^~~~~~~~~~~~~~~~~~~~~
prog.cpp:158:1: error: stray ‘##’ in program
 ## Add cmake target dependencies of the executable
 ^~
prog.cpp:159:1: error: stray ‘##’ in program
 ## same as for the library above
 ^~
prog.cpp:160:3: error: invalid preprocessing directive #add_dependencies
 # add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
   ^~~~~~~~~~~~~~~~
prog.cpp:162:1: error: stray ‘##’ in program
 ## Specify libraries to link a library or executable target against
 ^~
prog.cpp:163:3: error: invalid preprocessing directive #target_link_libraries
 # target_link_libraries(${PROJECT_NAME}_node
   ^~~~~~~~~~~~~~~~~~~~~
prog.cpp:164:5: error: invalid preprocessing directive #$
 #   ${catkin_LIBRARIES}
     ^
prog.cpp:165:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:167:1: error: stray ‘##’ in program
 #############
 ^~
prog.cpp:167:3: error: stray ‘##’ in program
 #############
   ^~
prog.cpp:167:5: error: stray ‘##’ in program
 #############
     ^~
prog.cpp:167:7: error: stray ‘##’ in program
 #############
       ^~
prog.cpp:167:9: error: stray ‘##’ in program
 #############
         ^~
prog.cpp:167:11: error: stray ‘##’ in program
 #############
           ^~
prog.cpp:167:13: error: stray ‘#’ in program
 #############
             ^
prog.cpp:168:1: error: stray ‘##’ in program
 ## Install ##
 ^~
prog.cpp:168:12: error: stray ‘##’ in program
 ## Install ##
            ^~
prog.cpp:169:1: error: stray ‘##’ in program
 #############
 ^~
prog.cpp:169:3: error: stray ‘##’ in program
 #############
   ^~
prog.cpp:169:5: error: stray ‘##’ in program
 #############
     ^~
prog.cpp:169:7: error: stray ‘##’ in program
 #############
       ^~
prog.cpp:169:9: error: stray ‘##’ in program
 #############
         ^~
prog.cpp:169:11: error: stray ‘##’ in program
 #############
           ^~
prog.cpp:169:13: error: stray ‘#’ in program
 #############
             ^
prog.cpp:171:3: error: invalid preprocessing directive #all
 # all install targets should use catkin DESTINATION variables
   ^~~
prog.cpp:172:3: error: invalid preprocessing directive #See
 # See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
   ^~~
prog.cpp:174:1: error: stray ‘##’ in program
 ## Mark executable scripts (Python etc.) for installation
 ^~
prog.cpp:175:1: error: stray ‘##’ in program
 ## in contrast to setup.py, you can choose the destination
 ^~
prog.cpp:176:3: error: invalid preprocessing directive #catkin_install_python
 # catkin_install_python(PROGRAMS
   ^~~~~~~~~~~~~~~~~~~~~
prog.cpp:177:5: error: invalid preprocessing directive #scripts
 #   scripts/my_python_script
     ^~~~~~~
prog.cpp:178:5: error: invalid preprocessing directive #DESTINATION
 #   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
     ^~~~~~~~~~~
prog.cpp:179:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:181:1: error: stray ‘##’ in program
 ## Mark executables for installation
 ^~
prog.cpp:182:1: error: stray ‘##’ in program
 ## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_executables.html
 ^~
prog.cpp:183:3: error: invalid preprocessing directive #install
 # install(TARGETS ${PROJECT_NAME}_node
   ^~~~~~~
prog.cpp:184:5: error: invalid preprocessing directive #RUNTIME
 #   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
     ^~~~~~~
prog.cpp:185:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:187:1: error: stray ‘##’ in program
 ## Mark libraries for installation
 ^~
prog.cpp:188:1: error: stray ‘##’ in program
 ## See http://docs.ros.org/melodic/api/catkin/html/howto/format1/building_libraries.html
 ^~
prog.cpp:189:3: error: invalid preprocessing directive #install
 # install(TARGETS ${PROJECT_NAME}
   ^~~~~~~
prog.cpp:190:5: error: invalid preprocessing directive #ARCHIVE
 #   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
     ^~~~~~~
prog.cpp:191:5: error: invalid preprocessing directive #LIBRARY
 #   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
     ^~~~~~~
prog.cpp:192:5: error: invalid preprocessing directive #RUNTIME
 #   RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
     ^~~~~~~
prog.cpp:193:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:195:1: error: stray ‘##’ in program
 ## Mark cpp header files for installation
 ^~
prog.cpp:196:3: error: invalid preprocessing directive #install
 # install(DIRECTORY include/${PROJECT_NAME}/
   ^~~~~~~
prog.cpp:197:5: error: invalid preprocessing directive #DESTINATION
 #   DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
     ^~~~~~~~~~~
prog.cpp:198:5: error: invalid preprocessing directive #FILES_MATCHING
 #   FILES_MATCHING PATTERN "*.h"
     ^~~~~~~~~~~~~~
prog.cpp:199:5: error: invalid preprocessing directive #PATTERN
 #   PATTERN ".svn" EXCLUDE
     ^~~~~~~
prog.cpp:200:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:202:1: error: stray ‘##’ in program
 ## Mark other files for installation (e.g. launch and bag files, etc.)
 ^~
prog.cpp:203:3: error: invalid preprocessing directive #install
 # install(FILES
   ^~~~~~~
prog.cpp:204:5: error: invalid preprocessing directive ##
 #   # myfile1
     ^
prog.cpp:205:5: error: invalid preprocessing directive ##
 #   # myfile2
     ^
prog.cpp:206:5: error: invalid preprocessing directive #DESTINATION
 #   DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
     ^~~~~~~~~~~
prog.cpp:207:3: error: invalid preprocessing directive #)
 # )
   ^
prog.cpp:220:1: error: stray ‘##’ in program
 #############
 ^~
prog.cpp:220:3: error: stray ‘##’ in program
 #############
   ^~
prog.cpp:220:5: error: stray ‘##’ in program
 #############
     ^~
prog.cpp:220:7: error: stray ‘##’ in program
 #############
       ^~
prog.cpp:220:9: error: stray ‘##’ in program
 #############
         ^~
prog.cpp:220:11: error: stray ‘##’ in program
 #############
           ^~
prog.cpp:220:13: error: stray ‘#’ in program
 #############
             ^
prog.cpp:221:1: error: stray ‘##’ in program
 ## Testing ##
 ^~
prog.cpp:221:12: error: stray ‘##’ in program
 ## Testing ##
            ^~
prog.cpp:222:1: error: stray ‘##’ in program
 #############
 ^~
prog.cpp:222:3: error: stray ‘##’ in program
 #############
   ^~
prog.cpp:222:5: error: stray ‘##’ in program
 #############
     ^~
prog.cpp:222:7: error: stray ‘##’ in program
 #############
       ^~
prog.cpp:222:9: error: stray ‘##’ in program
 #############
         ^~
prog.cpp:222:11: error: stray ‘##’ in program
 #############
           ^~
prog.cpp:222:13: error: stray ‘#’ in program
 #############
             ^
prog.cpp:224:1: error: stray ‘##’ in program
 ## Add gtest based cpp test target and link libraries
 ^~
prog.cpp:225:3: error: invalid preprocessing directive #catkin_add_gtest
 # catkin_add_gtest(${PROJECT_NAME}-test test/test_my_explore_lite.cpp)
   ^~~~~~~~~~~~~~~~
prog.cpp:226:13: error: missing binary operator before token "$"
 # if(TARGET ${PROJECT_NAME}-test)
             ^
prog.cpp:228:8: warning: extra tokens at end of #endif directive [-Wendif-labels]
 # endif()
        ^
prog.cpp:230:1: error: stray ‘##’ in program
 ## Add folders to be run by python nosetests
 ^~
prog.cpp:231:3: error: invalid preprocessing directive #catkin_add_nosetests
 # catkin_add_nosetests(test)
   ^~~~~~~~~~~~~~~~~~~~
prog.cpp:1:23: error: expected constructor, destructor, or type conversion before ‘(’ token
 cmake_minimum_required(VERSION 3.0.2)
                       ^
prog.cpp:130:3: error: ‘$’ does not name a type
   ${Boost_INCLUDE_DIRS}
   ^
prog.cpp:132:1: error: expected unqualified-id before ‘)’ token
 )
 ^
prog.cpp:215:1: error: ‘$’ does not name a type
 ${Boost_LIBRARIES}
 ^
prog.cpp:216:1: error: expected unqualified-id before ‘)’ token
 )
 ^
stdout
Standard output is empty