-
Notifications
You must be signed in to change notification settings - Fork 407
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
Building from source for aarch64 #2523
Comments
Arg, this error message is not helping. NB:
|
Hello @meisbokai, Can you display the first cmake output (remove your build directory, relaunch cmake). So we can see which compiler you are using. conda can manage pip dependency, you first have to install pip : |
@nim65s Thank you for your response, and my apologies for the missing details.
jetson@ubuntu:~$ ls -l /usr/local/lib/python3.8/site-packages/pinocchio/
total 50168
-rw-r--r-- 1 root staff 207 Sep 17 12:49 deprecated.py
-rw-r--r-- 1 root staff 1085 Sep 17 12:49 deprecation.py
drwxr-sr-x 2 root staff 4096 Dec 20 08:44 derivative
-rw-r--r-- 1 root staff 1192 Sep 17 12:49 explog.py
-rw-r--r-- 1 root staff 2270 Sep 17 12:49 __init__.py
lrwxrwxrwx 1 root staff 62 Dec 20 08:44 pinocchio_pywrap_default.cpython-38-aarch64-linux-gnu.so -> pinocchio_pywrap_default.cpython-38-aarch64-linux-gnu.so.3.2.0
-rw-r--r-- 1 root staff 51300496 Dec 20 02:21 pinocchio_pywrap_default.cpython-38-aarch64-linux-gnu.so.3.2.0
-rw-r--r-- 1 root staff 14771 Oct 11 09:38 robot_wrapper.py
-rw-r--r-- 1 root staff 2494 Sep 17 12:49 romeo_wrapper.py
-rw-r--r-- 1 root staff 8908 Sep 17 12:49 shortcuts.py
-rw-r--r-- 1 root staff 2445 Sep 17 12:49 utils.py
drwxr-sr-x 2 root staff 4096 Dec 20 08:44 visualize
-rw-r--r-- 1 root staff 1556 Sep 17 12:49 windows_dll_manager.py
jetson@ubuntu:~$ ldd /usr/local/lib/python3.8/site-packages/pinocchio/*.so
linux-vdso.so.1 (0x0000ffff817bd000)
libeigenpy.so => /usr/local/lib/libeigenpy.so (0x0000ffff7084d000)
libboost_python38.so.1.71.0 => /lib/aarch64-linux-gnu/libboost_python38.so.1.71.0 (0x0000ffff707b6000)
libpinocchio_parsers.so.3.2.0 => /usr/local/lib/libpinocchio_parsers.so.3.2.0 (0x0000ffff7072f000)
libconsole_bridge.so.0.4 => /lib/aarch64-linux-gnu/libconsole_bridge.so.0.4 (0x0000ffff7071a000)
liburdfdom_world.so.1.0 => /lib/aarch64-linux-gnu/liburdfdom_world.so.1.0 (0x0000ffff706e9000)
libpinocchio_collision.so.3.2.0 => /usr/local/lib/libpinocchio_collision.so.3.2.0 (0x0000ffff706d3000)
libhpp-fcl.so => /usr/local/lib/libhpp-fcl.so (0x0000ffff6ff2f000)
libpinocchio_extra.so.3.2.0 => /usr/local/lib/libpinocchio_extra.so.3.2.0 (0x0000ffff6ff04000)
libpinocchio_default.so.3.2.0 => /usr/local/lib/libpinocchio_default.so.3.2.0 (0x0000ffff6fa8b000)
libboost_serialization.so.1.71.0 => /lib/aarch64-linux-gnu/libboost_serialization.so.1.71.0 (0x0000ffff6fa3a000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffff6f855000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000ffff6f7aa000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffff6f786000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000ffff6f613000)
/lib/ld-linux-aarch64.so.1 (0x0000ffff8178d000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000ffff6f5e2000)
libboost_filesystem.so.1.71.0 => /lib/aarch64-linux-gnu/libboost_filesystem.so.1.71.0 (0x0000ffff6f5b8000)
liburdfdom_model.so.1.0 => /lib/aarch64-linux-gnu/liburdfdom_model.so.1.0 (0x0000ffff6f587000)
libtinyxml.so.2.6.2 => /lib/aarch64-linux-gnu/libtinyxml.so.2.6.2 (0x0000ffff6f561000)
libassimp.so.5 => /lib/aarch64-linux-gnu/libassimp.so.5 (0x0000ffff6e9d6000)
liboctomap.so.1.9 => /lib/aarch64-linux-gnu/liboctomap.so.1.9 (0x0000ffff6e97f000)
liboctomath.so.1.9 => /lib/aarch64-linux-gnu/liboctomath.so.1.9 (0x0000ffff6e969000)
libqhull_r.so.8.1 => /usr/local/lib/libqhull_r.so.8.1 (0x0000ffff6e8ea000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000ffff6e8c0000)
libminizip.so.1 => /lib/aarch64-linux-gnu/libminizip.so.1 (0x0000ffff6e8a6000) @jorisv Thank you for your response, as well as your tip on conda. Below is the cmake output.
|
Ok, I can not see anything wrong in your setup.
crocoddyl, since loco-3d/crocoddyl#1296, is a flake ; so you can modify it as you wish and use |
@meisbokai have you tried using |
Bug description
Unable to import pinocchio in Python 3 after a 'successful' build from source.
Expected behavior
Import pinocchio into Python 3
Reproduction steps
Steps to reproduce the behavior:
make -j4
) with:BUILD_WITH_COLLISION_SUPPORT ON
BUILD_WITH_COLLISION_SUPPORT ON
sudo make install
python
import pinocchio
Additional context
add_project_dependency(pinocchio 2.6.20 REQUIRED PKG_CONFIG_REQUIRES "pinocchio >= 2.6.20")
add_project_dependency(pinocchio 2.7.0 REQUIRED)
System
The text was updated successfully, but these errors were encountered: