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 fail in Noetic #95

Open
Alex108306 opened this issue May 12, 2024 · 6 comments
Open

Build fail in Noetic #95

Alex108306 opened this issue May 12, 2024 · 6 comments

Comments

@Alex108306
Copy link

Screenshot from 2024-05-12 22-54-27
I have encountered this issue.

@Alex108306
Copy link
Author

some issue with file "additional_topic_subscriber.h"

@Alex108306
Copy link
Author

/home/giang/ped_ws/src/pedsim_ros/2ndparty/spencer_tracking_rviz_plugin/src/additional_topic_subscriber.h:71:125: required from here
/opt/ros/noetic/include/rviz/properties/ros_topic_property.h:59:5: error: ‘QObject’ is an inaccessible base of ‘rviz::_AdditionalTopicSubscriber’

@WasFun00
Copy link

have u ever solved?

@Alex108306
Copy link
Author

Yeah I've solved it. There is an error in syntax.

@nanaminh
Copy link

@Alex108306 Hello, I am having the same problem. Could you share how you solved the problem?

@nanaminh
Copy link

For anyone looking for the solution later, here's how I solved the problem:

In additional_topic_subscriber.h, line 63,
change
class _AdditionalTopicSubscriber: QObject
to
class _AdditionalTopicSubscriber: public QObject

akmandor added a commit to RIVeR-Lab/spencer_tracking_rviz_plugin that referenced this issue Jun 23, 2024
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