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

fix(tier4_autoware_utils): fix build error #6652

Closed
wants to merge 1 commit into from

Conversation

satoshi-ota
Copy link
Contributor

Description

Fix the error No such file or directory.

--- stderr: behavior_path_planner                                                                                                                                                                                                                                                                                                                                                                                               
In file included from /home/satoshi/pilot-auto/src/autoware/universe/planning/behavior_path_planner/include/behavior_path_planner/behavior_path_planner_node.hpp:24,                                                                                                                                                                                                                                                            
                 from /home/satoshi/pilot-auto/src/autoware/universe/planning/behavior_path_planner/src/behavior_path_planner_node.cpp:15:                                                                                                                                                                                                                                                                                      
/home/satoshi/pilot-auto/install/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp:20:10: fatal error: autoware_internal_msgs/msg/published_time.hpp: No such file or directory                                                                                                                                                                                                                
   20 | #include <autoware_internal_msgs/msg/published_time.hpp>                                                                                                                                                                                                                                                                                                                                                                
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                                                                
compilation terminated.                                                                                                                                                                                                                                                                                                                                                                                                         
gmake[2]: *** [CMakeFiles/behavior_path_planner_lib.dir/build.make:90: CMakeFiles/behavior_path_planner_lib.dir/src/behavior_path_planner_node.cpp.o] Error 1                                                                                                                                                                                                                                                                   
gmake[2]: *** Waiting for unfinished jobs....                                                                                                                                                                                                                                                                                                                                                                                   
gmake[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/behavior_path_planner_lib.dir/all] Error 2                                                                                                                                                                                                                                                                                                                                  
gmake: *** [Makefile:146: all] Error 2                                                                                                                                                                                                                                                                                                                                                                                          
---                                                                                                                                                                                                                                                                                                                                                                                                                             
Failed   <<< behavior_path_planner [27.3s, exited with code 2]                                                                                                                                                                                                                                                                                                                                                                  
[Processing: trajectory_follower_node]                                                                                                                                                                                                                                                                                                                                                                                          
[Processing: trajectory_follower_node]                                                                                                                                                                                                                                                                                                                                                                                          
[Processing: trajectory_follower_node]                                                                                                                                                                          
--- stderr: trajectory_follower_node                                                                                                                                                                            
In file included from /home/satoshi/pilot-auto/src/autoware/universe/control/trajectory_follower_node/include/trajectory_follower_node/controller_node.hpp:31,                                                  
                 from /home/satoshi/pilot-auto/src/autoware/universe/control/trajectory_follower_node/src/controller_node.cpp:15:                                                                               
/home/satoshi/pilot-auto/install/tier4_autoware_utils/include/tier4_autoware_utils/ros/published_time_publisher.hpp:20:10: fatal error: autoware_internal_msgs/msg/published_time.hpp: No such file or directory
   20 | #include <autoware_internal_msgs/msg/published_time.hpp>                                                                                                                                                
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                
compilation terminated.                                                                                                                                                                                         
gmake[2]: *** [CMakeFiles/controller_node.dir/build.make:76: CMakeFiles/controller_node.dir/src/controller_node.cpp.o] Error 1                                                                                  
gmake[1]: *** [CMakeFiles/Makefile2:163: CMakeFiles/controller_node.dir/all] Error 2                                                                                                                            
gmake: *** [Makefile:146: all] Error 2                                                                                                                                                                          
---                                                                                                                                                                                                             
Failed   <<< trajectory_follower_node [4min 45s, exited with code 2]

Tests performed

Compile command colcon build --symlink-install --cmake-args -DCMAKE_CXX_FLAGS="-Wno-error=pedantic" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_CPP_MOCK_SCENARIOS=ON --continue-on-error $2 $3 --parallel-workers 8

Effects on system behavior

Nothing.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@github-actions github-actions bot added the component:common Common packages from the autoware-common repository. (auto-assigned) label Mar 18, 2024
@satoshi-ota satoshi-ota deleted the fix/build-error branch March 19, 2024 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant