Open Alex108306 opened 1 month ago
I have encountered this issue.
some issue with file "additional_topic_subscriber.h"
/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’
have u ever solved?
Yeah I've solved it. There is an error in syntax.
@Alex108306 Hello, I am having the same problem. Could you share how you solved the problem?
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