Closed sachinkum0009 closed 2 years ago
I believe by default, that msgs will be installed into the /usr/local
prefix. You need to make sure that it's in your CMAKE_PREFIX_PATH
and your PKG_CONFIG_PATH
in order for it to be picked up by the next package. You can check these variables by using env
For this type of application, I would alternatively recommend using something like colcon
and vcs
to build the whole workspace. We have this outlined in the source install instructions here: https://gazebosim.org/docs/fortress/install_ubuntu_src
Hi, thank you for your response.
You are right, the installation path is /usr/local
, this is the log when installing
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/hydra.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/friction.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/wireless_node.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/pose_animation.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/topic_info.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/duration.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/joint_trajectory.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/parameter_value.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/camera_lens.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/header.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/surface.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/annotated_oriented_3d_box_v.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/magnetometer_sensor.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/video_record.proto
-- Up-to-date: /usr/local/include/ignition/msgs8/ignition/msgs/rest_logout.proto
I am using branch gz-msgs9 it should be /usr/local/include/gz/msgs9/ignition/msgs instead of /usr/local/include/ignition/msgs8/ignition/msgs, right?
Because the other package requires gz-msgs9 as dependency.
Yes, I would expect it to be installed in gz/msgs9
. There will still be some ignition
headers as shims to handle deprecation warnings as part of the renaming, but the bulk of the installation would be in msgs9
.
I find the the version number the most confusing part. Can you verify the branch with git branch
? I know that ignition-msgs8
is still the default branch, so unless otherwise specified, that is what git will clone by default.
Yes, I changed the branch to gz-msgs9, here is the log
>>cd gz-msgs/
>>git branch
* gz-msgs9
ign-msgs8
Perhaps try removing and recreating the build
directory to insure that nothing is cached in the the CMakeCache.txt
?
gz-sim7
branch solved the issue
Environment
Source
Description
Build is successfull
But as I try to compile gz-transport12. Getting following error log
Please help me. I am not sure if this issue is related to the gz-msgs9 branch itself or something else.