Ask Your Question
0

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: librviz_rendering.so] 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 libassimp.so.5 -> libassimp.so.5.0.0
-rw-r--r--   1 root root  12846808 Feb 13  2020 libassimp.so.5.0.0

How can I get rviz_rendering to build?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Stats

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

Seen: 27 times

Last updated: Aug 10 '21