Ask Your Question

How to build rviz_rendering?

asked 2021-08-10 02:25:46 -0600

Hakaishin gravatar image

When trying to compile rviz_rendering with the command colcon build --symlink-install --packages-select rviz_rendering I get following stacktrace:

--- stderr: rviz_rendering
/usr/bin/ld: cannot find -lassimp
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/rviz_rendering.dir/build.make:515:] Error 1
make[1]: *** [CMakeFiles/Makefile2:344: CMakeFiles/rviz_rendering.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

I am using Ubuntu 20.04 and a ros_rolling master source checkout of ros2. I have both assimp-utils and assimp-testmodels installed. This is my output for ls -la | grep assimp

lrwxrwxrwx   1 root root        18 Feb 13  2020 ->
-rw-r--r--   1 root root  12846808 Feb 13  2020

How can I get rviz_rendering to build?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-08-10 03:58:53 -0600

Hakaishin gravatar image

Deleting the rviz_rendering folder in the build folder and rebuilding the package fixed this error

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-08-10 02:25:46 -0600

Seen: 27 times

Last updated: Aug 10 '21