robocomp/dsr-graph

Problems with DSR tutorial

JavierDG1996 opened this issue · 0 comments

In the tutorial of https://github.com/robocomp/dsr-graph

In the section where you need to replace TriangleFunctor and Connection.h, we can see the following commands:

sudo cp TriangleFunctor /usr/include/osg

sudo cp Connection.h /usr/include/Ice/Connection.h

but these commands are not completed and fail. This is because we do not have to write TriangleFunctor, but rather the path where the component is located.

  1. install command locate: sudo apt install locate
  2. update the database: sudo updatedb
  3. locate the path of the component TriangleFunctor: locate TriangleFunctor
  4. the screen output gives us the possible paths, use the first one. For example: /home/myuser/robocomp/components/dsr-graph/TriangleFunctor
  5. replace the word "TriangleFunctor" in the command for its path: sudo cp /home/myuser/robocomp/components/dsr-graph/TriangleFunctor /usr/include/osg

We have to do the same for Connection.h but using a path like this "/home/myuser/robocomp/components/dsr-graph/docker/focal/Connection.h": sudo cp /home/myuser/robocomp/components/dsr-graph/docker/focal/Connection.h /usr/include/Ice/Connection.h

I think this explanation could be in the tutorial.