Open vmayoral opened 5 years ago
This might be related to what I was running into with issue #104. Granted, the errors I've been seeing were different, but I had been using --merge-install and --symlink-install at the same time.
I think it's probably been fixed perfect in #125 .
I think it's probably been fixed perfect in #125 .
There are some issues on my case, I'll try to fix them
--- stderr: moveit_core
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/version/version.cpp: In function ‘int main(int, char**)’:
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/version/version.cpp:40:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
int main(int argc, char** argv)
^~~~
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/version/version.cpp:40:27: warning: unused parameter ‘argv’ [-Wunused-parameter]
int main(int argc, char** argv)
^~~~
In file included from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/collision_detection/include/moveit/collision_detection/collision_common.h:47:0,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/collision_detection/include/moveit/collision_detection/collision_matrix.h:40,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/collision_detection/include/moveit/collision_detection/collision_robot.h:40,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/collision_detection/include/moveit/collision_detection/allvalid/collision_robot_allvalid.h:40,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/collision_detection/src/allvalid/collision_robot_allvalid.cpp:37:
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/robot_model/include/moveit/robot_model/robot_model.h:43:10: fatal error: srdfdom/model.h: No such file or directory
#include <srdfdom/model.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [collision_detection/CMakeFiles/moveit_collision_detection.dir/src/allvalid/collision_robot_allvalid.cpp.o] Error 1
make[1]: *** [collision_detection/CMakeFiles/moveit_collision_detection.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/robot_model/include/moveit/robot_model/joint_model_group.h:41:0,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/kinematics_base/src/kinematics_base.cpp:38:
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/robot_model/include/moveit/robot_model/joint_model.h:46:10: fatal error: random_numbers/random_numbers.h: No such file or directory
#include <random_numbers/random_numbers.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [kinematics_base/CMakeFiles/moveit_kinematics_base.dir/src/kinematics_base.cpp.o] Error 1
make[1]: *** [kinematics_base/CMakeFiles/moveit_kinematics_base.dir/all] Error 2
In file included from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/utils/src/robot_model_test_utils.cpp:41:0:
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/utils/include/moveit/utils/robot_model_test_utils.h:44:10: fatal error: srdfdom/srdf_writer.h: No such file or directory
#include <srdfdom/srdf_writer.h>
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [utils/CMakeFiles/moveit_test_utils.dir/src/robot_model_test_utils.cpp.o] Error 1
make[1]: *** [utils/CMakeFiles/moveit_test_utils.dir/all] Error 2
In file included from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/profiler/include/moveit/profiler/profiler.h:63:0,
from /mnt/myfiles/github/moveitest/src/moveit2/moveit_core/profiler/src/profiler.cpp:37:
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/profiler/src/profiler.cpp: In member function ‘void moveit::tools::Profiler::console()’:
/opt/ros/dashing/include/rcutils/logging_macros.h:72:75: warning: too many arguments for format [-Wformat-extra-args]
rcutils_log(&__rcutils_logging_location, severity, name, __VA_ARGS__); \
^
/opt/ros/dashing/include/rcutils/logging_macros.h:489:3: note: in expansion of macro ‘RCUTILS_LOG_COND_NAMED’
RCUTILS_LOG_COND_NAMED( \
^~~~~~~~~~~~~~~~~~~~~~
/mnt/myfiles/github/moveitest/src/moveit2/moveit_core/profiler/src/profiler.cpp:177:3: note: in expansion of macro ‘RCUTILS_LOG_INFO’
RCUTILS_LOG_INFO("profiler", ss.str().c_str());
^
make: *** [all] Error 2
---
Failed <<< moveit_core [ Exited with code 2 ]
Summary: 11 packages finished [17.1s]
1 package failed: moveit_core
1 package had stderr output: moveit_core
8 packages not processed
For some reason moveit_core is not exporting correctly the libraries
Starting >>> moveit_ros_perception
--- stderr: moveit_ros_perception
CMake Error at /mnt/myfiles/github/moveitlast/install/moveit_core/share/moveit_core/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'moveit_core' exports the library 'moveit_exceptions' which
couldn't be found
Call Stack (most recent call first):
/mnt/myfiles/github/moveitlast/install/moveit_core/share/moveit_core/cmake/moveit_coreConfig.cmake:38 (include)
CMakeLists.txt:31 (find_package)
---
Failed <<< moveit_ros_perception [ Exited with code 1 ]
Summary: 12 packages finished [2min 19s]
With --merge-install compiles without problems
For some reason moveit_core is not exporting correctly the libraries
Starting >>> moveit_ros_perception --- stderr: moveit_ros_perception CMake Error at /mnt/myfiles/github/moveitlast/install/moveit_core/share/moveit_core/cmake/ament_cmake_export_libraries-extras.cmake:48 (message): Package 'moveit_core' exports the library 'moveit_exceptions' which couldn't be found Call Stack (most recent call first): /mnt/myfiles/github/moveitlast/install/moveit_core/share/moveit_core/cmake/moveit_coreConfig.cmake:38 (include) CMakeLists.txt:31 (find_package) --- Failed <<< moveit_ros_perception [ Exited with code 1 ] Summary: 12 packages finished [2min 19s]
Description
There seems to be a problem with the existing codebase of moveit2 when built with
--symlink-install
(fails to build) versus when built with--merge-install
.Your environment
Steps to reproduce
--merge-install
--symlink-install