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