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

Cannot compile CGR because ROBOCOMP variable not set #3

Closed
Gaidline opened this issue Dec 5, 2016 · 2 comments
Closed

Cannot compile CGR because ROBOCOMP variable not set #3

Gaidline opened this issue Dec 5, 2016 · 2 comments

Comments

@Gaidline
Copy link

Gaidline commented Dec 5, 2016

I want to try the CGR algorithm, but I cannot compile the source. When I run cmake .. in build directory I have a following error:

CMake Warning at src/CMakeLists.txt:7 (MESSAGE):
ROBOCOMP variable not set.  Using the default value: /opt/robocomp

CMake Error at src/CMakeLists.txt:12 (MESSAGE):
Couldn't find RoboComp in /opt/robocomp/! Exiting...

-- Configuring incomplete, errors occurred!

I noticed that ROBOCOMP variable is used to provide path to rapplication.cpp but I can not find this file in repository. Do I need rapplication? Should I comment out all includes to this?

@ljmanso
Copy link
Member

ljmanso commented Dec 6, 2016

As you guessed $ROBOCOMP is used to locate files. The variable should contain the path of the directory where you cloned the repository e.g., /home/username/robocomp

The file does exist in the repository: ./classes/rapplication/rapplication.cpp

@johri-lab
Copy link

I want to try the CGR algorithm, but I cannot compile the source. When I run cmake .. in build directory I have a following error:

CMake Warning at src/CMakeLists.txt:7 (MESSAGE):
ROBOCOMP variable not set.  Using the default value: /opt/robocomp

CMake Error at src/CMakeLists.txt:12 (MESSAGE):
Couldn't find RoboComp in /opt/robocomp/! Exiting...

-- Configuring incomplete, errors occurred!

I noticed that ROBOCOMP variable is used to provide path to rapplication.cpp but I can not find this file in repository. Do I need rapplication? Should I comment out all includes to this?

Overriding the installation, and finally saving the ld.so.conf also works.

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

4 participants