Skip to content

pinocchio3-preview undefined reference when compiling #2018

Answered by nim65s
giulioturrisi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Thanks for the report.

At first glance, I'd say this is because:

  1. you used pip install casadi
  2. this resolve to casadi-3.6.3-cp310-none-manylinux2014_x86_64.whl
  3. which was compiled on the manylinux2014 distribution
  4. which is derivated from CentOS 7
  5. which by default compile packages for the old c++ ABI
  6. while you are on a ubuntu jammy
  7. where packages are by default compiled for the new c++11 ABI.

Therefore, std::string signature is not the same between your different binaries.

Possible workarounds (choose one):

  1. install robotpkg-casadi, as you already have robotpkg, and robotpkg binaries are compiled with the correct compiler for each distribution
  2. compile casadi yourself to get everything …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nim65s
Comment options

@giulioturrisi
Comment options

Answer selected by nim65s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2017 on July 20, 2023 11:56.