I am not sure how robot_state_publisher.exe can work at all, but it seems that (differently from other nodes libraries in ros repos) the handling of symbol export visibility is missing in robot_state_publisher_node, see RoboStack/ros-jazzy#131 . I guess for consistency it make sense to add it with the visibility_control.h headers?