Closed pablogs9 closed 4 years ago
Hello @pablogs9, could you please deploy the content of the export/root/ dir on your SD Card and run it from there? You don't need an FTP connection for it.
Hello @razr, I have copied the folder export
in the root of the SD card, but now I have this scenario:
[vxWorks *]# pwd
/sd0a/export
[vxWorks *]# set env LD_LIBRARY_PATH="/sd0a/export/lib/"
[vxWorks *]# ls
.
..
lib
include
llvm
[vxWorks *]# cd llvm/bin
[vxWorks *]# pwd
/sd0a/export/llvm/bin
[vxWorks *]# rtp exec -u 0x20000 timer_lambda.vxe
Launching process 'timer_lambda.vxe' ...
Process 'timer_lambda.vxe' (process Id = 0xffff800000607000) launched.
terminating with uncaught exception of type rclcpp::exceptions::RCLError: failed to initialized rcl init options: failed to load shared library of rmw implementation. Exception: , at /work/build/ros2/ros2_ws/src/ros2/rmw_implementation/rmw_implementation/src/functions.cpp:161, at 5
0xffff800000602910 (iTimer_lambda): RTP 0xffff800000607000 has been deleted due to signal 6.
By the way, I also have had errors while copying some files to the FAT32 partition because it does not support symlinks.
Hi @pablogs9, when deploying content to the SD card use cp with the -L flag (-L, --dereference -> always follow symbolic links in SOURCE). This will solve the symlink related issues.
Working, the dereference flag solved the not found error.
Thank you so much @razr @danmilea.
Hello, I have been following VxWorks 7 SDK for Raspberry Pi 4 instructions and this repo instructions in order to run some ROS2 demos on VxWorks 7 on a RPi 4.
I mount the
export
folder by FTP (like in the SDK for RPi4 instructions) and I try to execute the same commands you expose here. So, I have:librclcpp.so
is actually in/wrs/lib
folder.Thanks!