Do you mind posting your solution here? This might be helpful for people stumbling upon the same error from search machines.
---
[Visit Topic](
https://discourse.ros.org/t/ros2-subscriber-defined-in-class-win10-visual-studio-14/4863/3) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>