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

default_plugin missing in exported libraries #964

Closed
dornhege opened this issue Jan 20, 2016 · 5 comments
Closed

default_plugin missing in exported libraries #964

dornhege opened this issue Jan 20, 2016 · 5 comments
Labels

Comments

@dornhege
Copy link

This was recently removed in 1f897d9 and #948. The problem is that any code relying on rviz plugins fails to link. This affects, for example, the MoveIt benchmarks gui. Building code on top of the rviz interactive markers might have been an unsupported use case, but I don't see any way to cleanly link this otherwise.

@jbohren
Copy link
Member

jbohren commented Feb 14, 2016

As an aside, the RViz default plugin product is literally called libdefault_plugin.so I think this needs to be fixed as well. That being said, I think the #948 makes a good point, and if you're explicitly linking against the plugin like moveit_benchmarks_gui does, it should just list the library in the target_link_libraries directive. Again, though, this library should really be called something other than default_plugin.

@rhaschke
Copy link
Contributor

rhaschke commented Mar 7, 2016

It's not only about listing libdefault_plugin.so in target_link_libraries. One needs to ensure build order as well - which was perfectly achieved by having it listed in exported targets.

@wjwwood
Copy link
Member

wjwwood commented Mar 7, 2016

it should just list the library in the target_link_libraries directive

Yeah, that's not a great idea, especially if I change the name of the library. As @rhaschke suggested that should really be done through a CMake variable, which before could have been exported targets. @rhaschke also, dependencies would be resolved if you're linking against it. I'm not aware of any use of the default plugin that would require you to use it with add_dependencies.

@wjwwood
Copy link
Member

wjwwood commented Mar 22, 2016

I created #979 which provides a cmake variable rviz_DEFAULT_PLUGIN_LIBRARIES which you can use for linking. I will merge that into indigo, but I will only change the library name in Kinetic (in case some people are referencing it by name in their link lines).

@wjwwood
Copy link
Member

wjwwood commented Mar 22, 2016

I believe this to be covered by #979, and I'll follow up on @jbohren comment about the libraries actual name in a Kinetic specific pr (after I branch for Kinetic which I will do after I do a release for indigo-devel).

@wjwwood wjwwood closed this as completed Mar 22, 2016
k-okada added a commit to k-okada/moveit_ros that referenced this issue Mar 30, 2016
130s pushed a commit to 130s/rviz that referenced this issue Aug 21, 2024
…os-visualization#928) (ros-visualization#964)

Issue: Colors from embedded color based mesh are overridden
and not rendered as expected

It was a known issue on ROS1 that was fixed by
ros-visualization#1424

Kudos to the original author

Fix ros-visualization#927

Signed-off-by: Xavier BROQUERE <xav.broquere@gmail.com>
(cherry picked from commit 2cb54fc2a93ab80746cd2bfda202c7fca232acad)

Co-authored-by: Xavier BROQUERE <xav.broquere@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants