When building a service that runs on the Rover and should interface the ASE framework, you will most likely want to use a roverlib. This is a C++ template that is based on roverlib-c, meant to run on the Rover.
Instead of cloning this repository, it is recommended to initialize this C++ service using roverctl as follows:
roverctl service init cpp --name cpp-example --source github.com/author/cpp-exampleRead more about using roverctl to initialize services here.