robocomp/robocomp-robolab

Cannot compile CGR because ROBOCOMP variable not set

Gaidline opened this issue · 2 comments

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?

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

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.