Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with DSR tutorial #42

Open
JavierDG1996 opened this issue May 10, 2021 · 0 comments
Open

Problems with DSR tutorial #42

JavierDG1996 opened this issue May 10, 2021 · 0 comments

Comments

@JavierDG1996
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant