Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbdl version 3.3.0 compilation of rbdl addon urdfreader failed. #96

Open
JIANGLI1252 opened this issue Feb 20, 2024 · 3 comments
Open

Comments

@JIANGLI1252
Copy link

I downloaded the 3.3.0 version of the library and compiled it successfully without addon.
2024-02-20 11-04-39屏幕截图

I need addon urdfreader, so I set up
OPTION (RBDL_BUILD_ADDON_URDFREADER "Build the (experimental) urdf reader" ON)
then compile, an error apprears as shown in the figure
2024-02-20 11-05-30屏幕截图
However, this problem did not appear in versions 3.2.1 and 3.2.0. I can compile these two versions successfully
I use ubuntu 20.04.

@ju6ge
Copy link
Contributor

ju6ge commented May 4, 2024

I tried to reproduce this behavior, but I can compile on ubuntu on 20.04 just fine. How did you obtain the sources? Did you clone the repository recursively?

@MaolinLei
Copy link

MaolinLei commented May 7, 2024

I meet the same problem, also I clone the repository recursively.

@ju6ge
Copy link
Contributor

ju6ge commented May 8, 2024

Since I can not reproduce the behavior there is no way for me to tell what is going wrong. My suspicion is that you are missing an important build step, or are missing a system dependency. But cmake should tell you if it can find everything when configuring the project.

These are the minimal instructions to compile and build rbdl with the urdf reader addon in a bare ubuntu:20.04 container:

apt update && apt install git build-essential cmake libeigen3-dev libboost-all-dev
git clone --recursive https://github.com/rbdl/rbdl.git

cd rbdl
mkdir build
cd build

cmake -D RBDL_BUILD_ADDON_URDFREADER=ON ..

make -j 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants