dyld: Library not loaded: QtWidgets
I ran run demo_nodes_cpp talker
successfully but now I have troubles with this. I searched where QtWidgets
is and it is at /usr/local/opt/qt/lib/QtWidgets.framework/Versions/A/QtWidgets
username@Ts-Mac ~ % ros2 run turtlesim turtlesim_node
dyld: Library not loaded: /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /Users/username/Documents/ROS/ros2-osx/lib/turtlesim/turtlesim_node
Reason: image not found
Would you tell me how to solve please?
I am using: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)/ macOS Big Sur Version11.4/ ros2-foxy-20201211-macos-amd64.tar.bz2
I am running into the same problem with ROS2 Foxy on macOS Monterrey. Did you find the solution?