[ros-users] [Discourse.ros.org] [Next Generation ROS] Librar…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: mch via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Library not loaded: libfastcdr.dylib


I finally fixed it by adding these lines to my CMakeLists.txt
<pre>
...
#ROS2 beta1
SET(ROS_LIBRARIES_DIR "${ament_cmake_DIR}/../../../lib")
#ROS2 beta2
#SET(ROS_LIBRARIES_DIR "${fastcdr_LIB_DIR}")
...
ament_add_gmock(${PROJECT_NAME}_test
        MyTestName.cpp
        APPEND_LIBRARY_DIRS "${ROS_LIBRARIES_DIR}" 
)
</pre>






---
[Visit Topic](https://discourse.ros.org/t/library-not-loaded-libfastcdr-dylib/2195/6) 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

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>