# Revision history [back]

You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists

add_executable(add_two_ints_server src/add_two_ints_server.cpp)
target_link_libraries(add_two_ints_server ${catkin_LIBRARIES}) add_dependencies(add_two_ints_server beginner_tutorials_gencpp) // <= you need this line  from here. Of course it is mandatory to create at first your srv file in the project folder as described here. You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists add_executable(add_two_ints_server src/add_two_ints_server.cpp) target_link_libraries(add_two_ints_server${catkin_LIBRARIES})


from here.

Of course it is mandatory to create at first your srv file in the project folder as described here.

In the right order:

2. add the above line as at the beginning suggested;
3. compile with catkin_make;

You don't need to find it. It is going to be created during compiling. To do that add the following line in your cmakelists

add_executable(add_two_ints_server src/add_two_ints_server.cpp)

3. compile with catkin_make;