Skip to content

Build error for autogenerated custom ROS2 package #9

@deepparikh

Description

@deepparikh

Hi,

I am trying to control Kinova Gen 3 robot using NVIDIA Xavier NX via autogenerated ROS2 node. I followed instructions mentioned here.

I am able to generate the ROS package from MATLAB and transfer it to Xavier board. However during the build (on Xavier) I am facing the following error.

Starting >>> example_model
--- stderr: example_model
/usr/bin/ld: skipping incompatible /home/ubuntu/dev_ws/src/example_model/./lib/libSimplifiedApi.a when searching for -lSimplifiedApi
/usr/bin/ld: cannot find -lSimplifiedApi
collect2: error: ld returned 1 exit status
make[2]: *** [example_model] Error 1
make[1]: *** [CMakeFiles/example_model.dir/all] Error 2
make: *** [all] Error 2---
Failed <<< example_model [0.68s, exited with code 2]
Summary: 0 packages finished [1.19s]
1 package failed: example_model
1 package had stderr output: example_model

The system details are as following:
OS : Ubuntu 18.04
ROS : Dashing

It will be great if you can provide some more information on the source of this issue and solution to enable a successful build.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions