ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use same name for both executable and source file.
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
2 | No.2 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use same name for both executable and source file.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
3 | No.3 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use same name for both executable and source file.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
4 | No.4 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file.file which is a convention used by many people. It doesn't have to be the same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
5 | No.5 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. It doesn't They don't have to be the same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
6 | No.6 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. They don't have to be the same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
7 | No.7 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. They Although they don't have to be same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
8 | No.8 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. Although they don't have to be same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
Also check the CMakeLists.txt
given here for other mistakes if you're unable to run your node.
9 | No.9 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. Although they don't have to be same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
Also check the CMakeLists.txt
given here for other mistakes if you're still unable to run your node.
10 | No.10 Revision |
Try this. Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. Although they don't have to be same as you can see here.
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
Also check the CMakeLists.txt
given here for other mistakes if you're still unable to run your node.
11 | No.11 Revision |
Change name of your main source code file algorithm_1.cpp
to dijkstra.cpp
. Use the same name for both executable and source file which is a convention used by many people. Although they don't have to be same as you can see here. So try this:
...
add_executable(dijkstra src/dijkstra.cpp)
target_link_libraries(dijkstra
${catkin_LIBRARIES}
)
...
Compile your workspace, source your .bashrc
and you're good to go.
Also check the CMakeLists.txt
given here for other mistakes if you're still unable to run your node.