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

Getting issue in Catkin build #19

Open
LuciferMorningStar0786 opened this issue Sep 1, 2023 · 18 comments
Open

Getting issue in Catkin build #19

LuciferMorningStar0786 opened this issue Sep 1, 2023 · 18 comments

Comments

@LuciferMorningStar0786
Copy link

Greetings all,

Me trying out tessarct_docs for using path_planning for robot the tessarct_ws. in ros noetic
I have followed all the steps in the documentation like create a workspace, git clone all the packages, when i run this commmand
rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

#issue
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]

and after runing this catkin build

#issue
This warning is for project developers. Use -Wno-dev to suppress it.

Building rendering module
CMake Error at /home/kaayatech/tesseract_ws/src/tesseract_qt/rendering/CMakeLists.txt:10 (find_package):
By not providing "Findgz-rendering7.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"gz-rendering7", but CMake did not find one.

Could not find a package configuration file provided by "gz-rendering7"
with any of the following names:

gz-rendering7Config.cmake
gz-rendering7-config.cmake

Add the installation prefix of "gz-rendering7" to CMAKE_PREFIX_PATH or set
"gz-rendering7_DIR" to a directory containing one of the above files. If
"gz-rendering7" provides a separate development package or SDK, be sure it
has been installed.

cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si /usr/bin/cmake /home/kaayatech/tesseract_ws/src/tesseract_qt --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/home/kaayatech/tesseract_ws/devel; cd -

..................................................................................................................................................................................................................
Failed << tesseract_qt:cmake [ Exited with code 1 ]

Please help me out in this to reslove.

@Levi-Armstrong
Copy link
Contributor

sudo apt install libgz-rendering7-dev

@LuciferMorningStar0786
Copy link
Author

sudo apt install libgz-rendering7-dev

#issues

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgz-rendering7-dev

Please help me out in this to reslove.

@Levi-Armstrong
Copy link
Contributor

Need to run this script to add the gazebo PPA.

@LuciferMorningStar0786
Copy link
Author

After running this $ sudo apt install libgz-rendering7-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
libgz-rendering7-dev is already the newest version (7.4.1-1~focal).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]

Still getting same error so any other apporach to reslove

@Levi-Armstrong
Copy link
Contributor

sudo apt install libgz-math7-dev

@LuciferMorningStar0786
Copy link
Author

Already installed this pacakges

Predator:~/tesseract_ws$ sudo apt install libgz-math7-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
libgz-math7-dev is already the newest version (7.3.0-1~focal).
The following packages were automatically installed and are no longer required:
linux-headers-5.15.0-79-generic linux-hwe-5.15-headers-5.15.0-79 linux-image-5.15.0-79-generic linux-modules-5.15.0-79-generic linux-modules-extra-5.15.0-79-generic linux-modules-nvidia-525-5.15.0-79-generic
linux-objects-nvidia-525-5.15.0-79-generic linux-signatures-nvidia-5.15.0-79-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Predator:~/tesseract_ws$ rosdep install -y --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]

Still getting same error, I tried to delete all the package and build it again and stll same issue

@rjoomen
Copy link

rjoomen commented Sep 5, 2023

rosdep install -y -r --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

@LuciferMorningStar0786
Copy link
Author

rosdep install -y -r --from-paths ~/tesseract_ws/src --ignore-src --rosdistro noetic

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tesseract_qt: Cannot locate rosdep definition for [gz-math7]
Continuing to install resolvable dependencies...
#All required rosdeps installed successfully

again same issue...

@rjoomen
Copy link

rjoomen commented Sep 5, 2023

Now try building

@LuciferMorningStar0786
Copy link
Author

i ran catkin build

Building rendering module
CMake Error at /usr/share/cmake-3.16/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "Findgz-common5-profiler.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"gz-common5-profiler", but CMake did not find one.

Could not find a package configuration file provided by
"gz-common5-profiler" (requested version 5.4.1) with any of the following
names:

gz-common5-profilerConfig.cmake
gz-common5-profiler-config.cmake

Add the installation prefix of "gz-common5-profiler" to CMAKE_PREFIX_PATH
or set "gz-common5-profiler_DIR" to a directory containing one of the above
files. If "gz-common5-profiler" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/gz-common5/gz-common5-config.cmake:203 (find_dependency)
rendering/CMakeLists.txt:11 (find_package)

cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si /usr/bin/cmake /home/kaayatech/tesseract_ws/src/tesseract_qt --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=/home/kaayatech/tesseract_ws/devel; cd -

..................................................................................................................................................................................................................
Failed << tesseract_qt:cmake [ Exited with code 1 ]
Failed <<< tesseract_qt

getting issue gz-commmon5-proflerConfig.cmake its not finding that package gz-math

@rjoomen
Copy link

rjoomen commented Sep 5, 2023

With the examples for gz-rendering7 and gz-math7 above I would expect you to be able to find out by yourself how to install gz-common5-profiler...

@LuciferMorningStar0786
Copy link
Author

Pls can share command for install

@rjoomen
Copy link

rjoomen commented Sep 5, 2023

A hint: apt search gz-common5-profiler

@LuciferMorningStar0786
Copy link
Author

I got that command, know getting some other issue in tessaract_qt pkg

Errors << tesseract_qt:install /home/kaayatech/tesseract_ws/logs/tesseract_qt/build.install.001.log
CMake Error at cmake_install.cmake:75 (file):
file INSTALL cannot find
"/home/kaayatech/tesseract_ws/src/tesseract_qt/tesseract_qt-extras.cmake":
No such file or directory.

make: *** [Makefile:86: install] Error 1
cd /home/kaayatech/tesseract_ws/build/tesseract_qt; catkin build --get-env tesseract_qt | catkin env -si /usr/bin/make install; cd -

..................................................................................................................................................................................................................
Failed << tesseract_qt:install [ Exited with code 2 ]
Failed <<< tesseract_qt [ 16.5 seconds ]
Abandoned <<< tesseract_qt_ros [ Unrelated job failed ]
Abandoned <<< tesseract_ros_examples [ Unrelated job failed ]
Abandoned <<< tesseract_rviz [ Unrelated job failed ]

@LuciferMorningStar0786
Copy link
Author

Help me out in this

@rjoomen
Copy link

rjoomen commented Sep 5, 2023

That is a known issue, for which I submitted a PR: tesseract-robotics/tesseract_qt#71

@marip8
Copy link
Contributor

marip8 commented Sep 5, 2023

FYI, you can now build this package without the studio plugin and gazebo rendering capability via the cmake options -DBUILD_RENDERING=OFF -DBUILD_STUDIO=OFF. This way you don't need to install the gz libraries and the Qt ADS repo

@LuciferMorningStar0786
Copy link
Author

thank you..got it

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

4 participants