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

Build error: "By not providing "Findyak.cmake" in CMAKE_MODULE_PATH..." #19

Closed
yyxr75 opened this issue Feb 21, 2020 · 3 comments
Closed

Comments

@yyxr75
Copy link

yyxr75 commented Feb 21, 2020

Hi there,
Error came up when I tried to build this in my ROS1 workspace.
I did what the 'readme' says, clone this repository into mycatkin_ws/src/
then I ran 'catkin build'
the error is:

By not providing "Findyak.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "yak", but
CMake did not find one.

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

yakConfig.cmake
yak-config.cmake

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

What should I do then?
Thx a lot

@schornakj
Copy link
Contributor

schornakj commented Feb 22, 2020

It looks like you're not building Yak, which is the underlying TSDF library that yak_ros uses. You will need to clone Yak into your workspace and install its dependencies before you can build yak_ros. It has a separate set of installation instructions, which can be found here.

@schornakj schornakj changed the title BUILD ERROR Build error: "By not providing "Findyak.cmake" in CMAKE_MODULE_PATH..." Feb 22, 2020
@yyxr75
Copy link
Author

yyxr75 commented Feb 23, 2020

It looks like you're not building Yak, which is the underlying TSDF library that yak_ros uses. You will need to clone Yak into your workspace and install its dependencies before you can build yak_ros. It has a separate set of installation instructions, which can be found here.

Thank you a lot,
I tried to build and install 'yak' the project
I build it on CUDA 9.0 but error shows:

[ 5%] Building NVCC (Device) object CMakeFiles/yak.dir/src/cuda/yak_generated_tsdf_volume.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_20'
CMake Error at yak_generated_tsdf_volume.cu.o.cmake:220 (message):
Error generating
/home/yang/catkin_ws/src/yak/build/CMakeFiles/yak.dir/src/cuda/./yak_generated_tsdf_volume.cu

It seems I need to comment some config in some files
I was mostly told by the blog from webs that I should comment something in Makefile.config
but I can't find this file.

@schornakj
Copy link
Contributor

Strictly speaking that's a Yak issue rather than a yak_ros issue, since it's an error while compiling the Yak CUDA libraries. I made a new issue on the Yak issues page and I'll post further comments over there.

You can close this issue if your original question has been resolved.

@yyxr75 yyxr75 closed this as completed Feb 24, 2020
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

2 participants