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

build error #13

Closed
savolla opened this issue Apr 11, 2022 · 1 comment
Closed

build error #13

savolla opened this issue Apr 11, 2022 · 1 comment

Comments

@savolla
Copy link

savolla commented Apr 11, 2022

Hi, I'm having difficulties while integrating this repo into my tesseract_ws. I did the following;

  1. cloned the repo into ~/tesseract_ws/src
  2. followed this answer and changed everything to master
  3. sourced the workspace by doing source ~/tesseract_ws/devel/setup.bash
  4. 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 -

.........................................................................................................................................................
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.

@savolla
Copy link
Author

savolla commented Apr 13, 2022

I sent a PR to fix this issue https://github.com/tesseract-robotics/tesseract_ros_workcell/pull/14

@savolla savolla closed this as completed Apr 13, 2022
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