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 geometry_msgs move_base_msgs actionlib costmap_2d ) ## 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( # INCLUDE_DIRS include # LIBRARIES my_explore_lite CATKIN_DEPENDS nav_msgs roscpp std_msgs message_runtime # DEPENDS system_lib ) ########### ## 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(${PROJECT_NAME} ${${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(main_node src/main.cpp) target_link_libraries(main_node ${catkin_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: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}) ^
Standard output is empty