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

[rviz_rendering] CMake build fails for CMAKE_BUILD_TYPE=Debug #8

Closed
greimela opened this issue Aug 29, 2017 · 4 comments
Closed

[rviz_rendering] CMake build fails for CMAKE_BUILD_TYPE=Debug #8

greimela opened this issue Aug 29, 2017 · 4 comments

Comments

@greimela
Copy link

When building the rendering_example under Ubuntu 16.04 with CMAKE_BUILD_TYPE=Debug the build fails with the following error message:
make[3]: *** No rule to make target '_ogre_overlay_static_library_debug_abs-NOTFOUND', needed by 'rendering_example'. Stop.

@wjwwood
Copy link
Member

wjwwood commented Aug 29, 2017

You need to build the rviz_ogre_vendor package as debug as well. It might be that the package needs additional logic to know when to rebuild when the the build type changes. To force it you can delete the build folder for that package and run it again as debug. You might also be able to delete some stamp file to force it to rebuild without deleting the build space but I haven't tried that.

@greimela
Copy link
Author

I think this was not enought for me.
I tried it with ament, which rebuilds the ogre vendor from scratch when changing the build type, but it didn't run either...

@wjwwood
Copy link
Member

wjwwood commented Aug 30, 2017

Weird, I'll look again tomorrow.

Also try again now, I did clean up the cmake code some today I think.

@greimela-si
Copy link
Contributor

Update:
The debug build works correctly as long as I rebuild all projects after changing the build type.
So I think we can close this issue.

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

3 participants