Problems with DSR tutorial
JavierDG1996 opened this issue · 0 comments
JavierDG1996 commented
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.
- install command locate: sudo apt install locate
- update the database: sudo updatedb
- locate the path of the component TriangleFunctor: locate TriangleFunctor
- the screen output gives us the possible paths, use the first one. For example: /home/myuser/robocomp/components/dsr-graph/TriangleFunctor
- 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.