Hi, I'm having difficulties while integrating this repo into my tesseract_ws. I did the following;
cloned the repo into ~/tesseract_ws/src
followed this answer and changed everything to master
sourced the workspace by doing source ~/tesseract_ws/devel/setup.bash
did catkin build
The Error Message
`Errors << twc_application:make /home/savolla/tesseract_ws/logs/twc_application/build.make.009.log
/home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:12:29: error: ‘tesseract_monitoring::EnvironmentMonitorInterface’ has not been declared
12 | using tesseract_monitoring::EnvironmentMonitorInterface;
| ^~~~~~~
/home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp: In function ‘int main(int, char)’:
/home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:22:3: error: ‘EnvironmentMonitorInterface’ was not declared in this scope; did you mean ‘tesseract_environment::EnvironmentMonitorInterface’?
22 | EnvironmentMonitorInterface interface("tesseract_environment");
| ^~~~~~~
| tesseract_environment::EnvironmentMonitorInterface
In file included from /home/savolla/tesseract_ws/src/tesseract_ros/tesseract_monitoring/include/tesseract_monitoring/environment_monitor_interface.h:37,
from /home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:7:
/home/savolla/tesseract_ws/devel/include/tesseract_environment/environment_monitor_interface.h:39:7: note: ‘tesseract_environment::EnvironmentMonitorInterface’ declared here
39 | class EnvironmentMonitorInterface
| ^~~~~~~
/home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:23:3: error: ‘interface’ was not declared in this scope
23 | interface.addNamespace("tesseract_workcell_environment");
| ^~~~~
make[2]: ** [CMakeFiles/twc_application_node.dir/build.make:63: CMakeFiles/twc_application_node.dir/src/application_node.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:295: CMakeFiles/twc_application_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/savolla/tesseract_ws/build/twc_application; catkin build --get-env twc_application | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
Hi, I'm having difficulties while integrating this repo into my
tesseract_ws
. I did the following;~/tesseract_ws/src
master
source ~/tesseract_ws/devel/setup.bash
catkin build
The Error Message
`Errors << twc_application:make /home/savolla/tesseract_ws/logs/twc_application/build.make.009.log
/home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:12:29: error: ‘tesseract_monitoring::EnvironmentMonitorInterface’ has not been declared 12 | using tesseract_monitoring::EnvironmentMonitorInterface; | ^
~~~~~~ /home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp: In function ‘int main(int, char)’: /home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:22:3: error: ‘EnvironmentMonitorInterface’ was not declared in this scope; did you mean ‘tesseract_environment::EnvironmentMonitorInterface’? 22 | EnvironmentMonitorInterface interface("tesseract_environment"); | ^~~~~~~ | tesseract_environment::EnvironmentMonitorInterface In file included from /home/savolla/tesseract_ws/src/tesseract_ros/tesseract_monitoring/include/tesseract_monitoring/environment_monitor_interface.h:37, from /home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:7: /home/savolla/tesseract_ws/devel/include/tesseract_environment/environment_monitor_interface.h:39:7: note: ‘tesseract_environment::EnvironmentMonitorInterface’ declared here 39 | class EnvironmentMonitorInterface | ^~~~~~~ /home/savolla/tesseract_ws/src/tesseract_ros_workcell/twc_application/src/application_node.cpp:23:3: error: ‘interface’ was not declared in this scope 23 | interface.addNamespace("tesseract_workcell_environment"); | ^~~~~ make[2]: ** [CMakeFiles/twc_application_node.dir/build.make:63: CMakeFiles/twc_application_node.dir/src/application_node.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:295: CMakeFiles/twc_application_node.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 cd /home/savolla/tesseract_ws/build/twc_application; catkin build --get-env twc_application | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -......................................................................................................................................................... Failed << twc_application:make [ Exited with code 2 ]
Failed <<< twc_application [ 14.9 seconds ]
[build] Summary: 38 of 39 packages succeeded.
[build] Ignored: None.
[build] Warnings: 11 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 1 minute and 14.2 seconds total.`
I tried to fix this myself (and still trying). But anytime I change something, more things broke.