cmake_minimum_required(VERSION 3.0.2) project(my_explore_lite) ## Compile as C++11, supported in ROS Kinetic and newer add_compile_options(-std=c++11) ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages find_package(catkin REQUIRED COMPONENTS geometry_msgs roscpp std_msgs nav_msgs move_base_msgs actionlib costmap_2d move_base ) ## System dependencies are found with CMake's conventions find_package(Boost REQUIRED COMPONENTS system) ## Uncomment this if the package has a setup.py. This macro ensures ## modules and global scripts declared therein get installed ## See http://r...content-available-to-author-only...s.org/doc/api/catkin/html/user_guide/setup_dot_py.html # catkin_python_setup() ################################################ ## Declare ROS messages, services and actions ## ################################################ ## To declare and build messages, services or actions from within this ## package, follow these steps: ## * Let MSG_DEP_SET be the set of packages whose message types you use in ## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...). ## * In the file package.xml: ## * add a build_depend tag for "message_generation" ## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET ## * If MSG_DEP_SET isn't empty the following dependency has been pulled in ## but can be declared for certainty nonetheless: ## * add a exec_depend tag for "message_runtime" ## * In this file (CMakeLists.txt): ## * add "message_generation" and every package in MSG_DEP_SET to ## find_package(catkin REQUIRED COMPONENTS ...) ## * add "message_runtime" and every package in MSG_DEP_SET to ## catkin_package(CATKIN_DEPENDS ...) ## * uncomment the add_*_files sections below as needed ## and list every .msg/.srv/.action file to be processed ## * uncomment the generate_messages entry below ## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...) ## Generate messages in the 'msg' folder # add_message_files( # FILES # Message1.msg # Message2.msg # ) ## Generate services in the 'srv' folder # add_service_files( # FILES # Service1.srv # Service2.srv # ) ## Generate actions in the 'action' folder # add_action_files( # FILES # Action1.action # Action2.action # ) ## Generate added messages and services with any dependencies listed here ################################################ ## Declare ROS dynamic reconfigure parameters ## ################################################ ## To declare and build dynamic reconfigure parameters within this ## package, follow these steps: ## * In the file package.xml: ## * add a build_depend and a exec_depend tag for "dynamic_reconfigure" ## * In this file (CMakeLists.txt): ## * add "dynamic_reconfigure" to ## find_package(catkin REQUIRED COMPONENTS ...) ## * uncomment the "generate_dynamic_reconfigure_options" section below ## and list every .cfg file to be processed ## Generate dynamic reconfigure parameters in the 'cfg' folder # generate_dynamic_reconfigure_options( # cfg/DynReconf1.cfg # cfg/DynReconf2.cfg # ) ################################### ## catkin specific configuration ## ################################### ## The catkin_package macro generates cmake config files for your package ## Declare things to be passed to dependent projects ## INCLUDE_DIRS: uncomment this if your package contains header files ## LIBRARIES: libraries you create in this project that dependent projects also need ## CATKIN_DEPENDS: catkin_packages dependent projects also need ## DEPENDS: system dependencies of this project that dependent projects also need catkin_package( CATKIN_DEPENDS nav_msgs roscpp std_msgs message_runtime move_base_msgs move_base ) ########### ## Build ## ########### ## Specify additional locations of header files ## Your package locations should be listed before other locations include_directories( include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ) ## Declare a C++ library #add_library(${PROJECT_NAME} # src/${PROJECT_NAME}/my_explore_lite.cpp # ) ## Add cmake target dependencies of the library ## as an example, code may need to be generated before libraries ## either from message generation or dynamic reconfigure #add_dependencies(explore_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) ## Declare a C++ executable ## With catkin_make all packages are built within a single CMake context ## The recommended prefix ensures that target names across packages don't collide # add_executable(${PROJECT_NAME}_node src/my_explore_lite_node.cpp) ## Rename C++ executable without prefix ## The above recommended prefix causes long target names, the following renames the ## target back to the shorter version for ease of user use ## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node" # set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "") ## Add cmake target dependencies of the executable ## same as for the library above # add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS}) ## Specify libraries to link a library or executable target against # target_link_libraries(${PROJECT_NAME}_node # ${catkin_LIBRARIES} # ) ############# ## Install ## ############# # all install targets should use catkin DESTINATION variables # See http://r...content-available-to-author-only...s.org/doc/api/catkin/html/adv_user_guide/variables.html ## Mark executable scripts (Python etc.) for installation ## in contrast to setup.py, you can choose the destination # catkin_install_python(PROGRAMS # scripts/my_python_script # DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} # ) ## Mark executables for installation ## See http://d...content-available-to-author-only...s.org/melodic/api/catkin/html/howto/format1/building_executables.html # install(TARGETS ${PROJECT_NAME}_node # RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} # ) ## Mark libraries for installation ## See http://d...content-available-to-author-only...s.org/melodic/api/catkin/html/howto/format1/building_libraries.html # install(TARGETS ${PROJECT_NAME} # ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} # LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} # RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION} # ) ## Mark cpp header files for installation # install(DIRECTORY include/${PROJECT_NAME}/ # DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} # FILES_MATCHING PATTERN "*.h" # PATTERN ".svn" EXCLUDE # ) ## Mark other files for installation (e.g. launch and bag files, etc.) # install(FILES # # myfile1 # # myfile2 # DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} # ) add_executable(explore_node src/main.cpp) target_link_libraries( explore_node ${catkin_LIBRARIES} ${Boost_LIBRARIES} ) ############# ## Testing ## ############# ## Add gtest based cpp test target and link libraries # catkin_add_gtest(${PROJECT_NAME}-test test/test_my_explore_lite.cpp) # if(TARGET ${PROJECT_NAME}-test) # target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME}) # endif() ## Add folders to be run by python nosetests # catkin_add_nosetests(test)
Standard input is empty
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 ) ^
Standard output is empty