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

Installation Issues fatal error: tesseract_task_composer/core/tesseract_task_composer_nodes_export.h: #254

Open
CodingHzx opened this issue Nov 20, 2024 · 0 comments

Comments

@CodingHzx
Copy link

CodingHzx commented Nov 20, 2024

When compiling tesseract_ros, I followed these steps:

  1. Created the workspace and cloned the repository:
Ubuntu 20.42   ros1

mkdir -p tesseract_ws/src && cd tesseract_ws/src
git clone https://github.com/tesseract-robotics/tesseract_ros.git
cd tesseract_ros
  1. Initialized and updated the dependencies:
wstool init
wstool merge dependencies.repos
wstool update
  1. Returned to the workspace root and used clang-tidy for compilation:
cd tesseract_ws
catkin_make_isolated -DTESSERACT_ENABLE_CLANG_TIDY=ON

I encountered the following error:

error: 'tesseract_task_composer/core/tesseract_task_composer_nodes_export.h' file not found

However, the generated path is here:

aiwen@aiwen:~/Acatkin_ws/tesseract_ws$ find -name "tesseract_task_composer_nodes_export.h"
./build_isolated/tesseract_task_composer/devel/core/tesseract_task_composer_nodes_export.h
aiwen@aiwen:~/Acatkin_ws/tesseract_ws$ 

How can I resolve this issue? 

The specific error message is as follows:

-- Clearing assimp INTERFACE_INCLUDE_DIRECTORIES due to bug /usr/include
-- Setting assimp IMPORTED_CONFIGURATIONS due to bug
-- Found TinyXML2 via Config file: TinyXML2_DIR-NOTFOUND
-- Found TinyXML2 via Config file: TinyXML2_DIR-NOTFOUND
-- Taskflow found. Headers: /opt/ros/noetic/include/
-- No package config template file found, creating default one
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aiwen/Acatkin_ws/tesseract_ws/build_isolated/tesseract_task_composer/devel
==> make -j16 -l16 in '/home/aiwen/Acatkin_ws/tesseract_ws/build_isolated/tesseract_task_composer/devel'
[ 22%] Built target tesseract_task_composer
[ 24%] Building CXX object core/CMakeFiles/tesseract_task_composer_nodes.dir/src/nodes/has_data_storage_entry_task.cpp.o
[ 28%] Built target tesseract_task_composer_taskflow
Scanning dependencies of target tesseract_task_composer_taskflow_factories
Scanning dependencies of target tesseract_task_composer_raster_example
Scanning dependencies of target tesseract_task_composer_trajopt_example
Scanning dependencies of target tesseract_task_composer_example
[ 30%] Building CXX object taskflow/CMakeFiles/tesseract_task_composer_taskflow_factories.dir/src/taskflow_task_composer_plugin_factories.cpp.o
[ 31%] Building CXX object examples/CMakeFiles/tesseract_task_composer_example.dir/task_composer_example.cpp.o
[ 34%] Building CXX object examples/CMakeFiles/tesseract_task_composer_raster_example.dir/task_composer_raster_example.cpp.o
[ 34%] Building CXX object examples/CMakeFiles/tesseract_task_composer_trajopt_example.dir/task_composer_trajopt_example.cpp.o
In file included from /home/aiwen/Acatkin_ws/tesseract_ws/src/tesseract_ros/tesseract_planning/tesseract_task_composer/core/src/nodes/has_data_storage_entry_task.cpp:9:
/home/aiwen/Acatkin_ws/tesseract_ws/src/tesseract_ros/tesseract_planning/tesseract_task_composer/core/include/tesseract_task_composer/core/nodes/has_data_storage_entry_task.h:8:10: fatal error: tesseract_task_composer/core/tesseract_task_composer_nodes_export.h: 没有那个文件或目录
8 | #include <tesseract_task_composer/core/tesseract_task_composer_nodes_export.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/CMakeFiles/tesseract_task_composer_nodes.dir/build.make:89:core/CMakeFiles/tesseract_task_composer_nodes.dir/src/nodes/has_data_storage_entry_task.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:169:core/CMakeFiles/tesseract_task_composer_nodes.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 36%] Linking CXX shared library libtesseract_task_composer_taskflow_factories.so
[ 36%] Built target tesseract_task_composer_taskflow_factories
[ 37%] Linking CXX executable tesseract_task_composer_example
[ 37%] Built target tesseract_task_composer_example
[ 39%] Linking CXX executable tesseract_task_composer_trajopt_example
[ 40%] Linking CXX executable tesseract_task_composer_raster_example
[ 40%] Built target tesseract_task_composer_trajopt_example
[ 40%] Built target tesseract_task_composer_raster_example
make: *** [Makefile:130:all] 错误 2
<== Failed to process package 'tesseract_task_composer':
Command '['/home/aiwen/Acatkin_ws/tesseract_ws/devel_isolated/tesseract_motion_planners/env.sh', 'make', '-j16', '-l16']' returned non-zero exit status 2.

Reproduce this error by running:
==> cd /home/aiwen/Acatkin_ws/tesseract_ws/build_isolated/tesseract_task_composer && /home/aiwen/Acatkin_ws/tesseract_ws/devel_isolated/tesseract_motion_planners/env.sh make -j16 -l16

Command failed, exiting.
aiwen@aiwen:~/Acatkin_ws/tesseract_ws$

@CodingHzx CodingHzx changed the title tesseract_ros Installation Issues Installation Issues error: 'tesseract_task_composer/devel/core/tesseract_task_composer_nodes_export.h' file not found Nov 20, 2024
@CodingHzx CodingHzx changed the title Installation Issues error: 'tesseract_task_composer/devel/core/tesseract_task_composer_nodes_export.h' file not found Installation Issues fatal error: tesseract_task_composer/core/tesseract_task_composer_nodes_export.h: Nov 20, 2024
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