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
cannot build orocos_kinematic_dynamics with Python3 and ROS #287
Comments
It is pretty clear, it can't find some of the member functions/variables. Please start completely over and follow the build instructions from the travis config, https://github.com/orocos/orocos_kinematics_dynamics/blob/master/.travis.yml |
Thank you for the prompt reply @MatthijsBurgh. I very much appreciate your time. I started with a fresh clone of the repo. and then executed I then executed these commands
This build the orocos_kdl folder without any errors.
after which I get this error, ------------------------------------------------------------- ERROR I GET (complete) -----------------------------------------------------------------------
------------------------------------------------------------- ERROR I GET (complete) ----------------------------------------------------------------------- Seems like something wrong with the pybind11 |
How about building the python2 version? |
so i tried building the repo using sip instead of pybind11 by setting these flags, still can't build python_orocos_kdl folder. I get this error, ------------------------------------------------------------- ERROR I GET (complete) -----------------------------------------------------------------------
------------------------------------------------------------- ERROR I GET (complete) ----------------------------------------------------------------------- As you suggested I also tried using python2. I set the flags and also change this command, ------------------------------------------------------------- ERROR I GET (complete) -----------------------------------------------------------------------
------------------------------------------------------------- ERROR I GET (complete) ----------------------------------------------------------------------- seems like its the same error to me. I can install PyKDL in python2 using ROS by executing this command, My new files are in python3 env. and so I am desperate to install PyKDL in python3. |
It seems to me that |
|
I tried the steps suggested (https://github.com/orocos/orocos_kinematics_dynamics/blob/master/.travis.yml) to me initially on a fresh PC. This fresh PC has python 3.6.9 and ROS melodic. I am still getting the same errors. Nothing changed. Can anyone please suggest me any steps to debug/solve this?? Below is full error again for your reference ------------------------------------------------------------- ERROR I GET (complete) -----------------------------------------------------------------------
------------------------------------------------------------- ERROR I GET (complete) ----------------------------------------------------------------------- |
I did not look at it in detail not test it myself, but the problem could be that you are mixing different versions of KDL. You cannot build and install And that is the root cause of the problem then: The latest version of KDL that is released into ROS, 1.4.0, is not API-compatible to the version of Possible solutions:
@MatthijsBurgh @smits Any other thoughts on this? Would 1. be feasible? Or does someone have time to work towards a new backwards-compatible 1.4 release? That would probably be the best and least error-prone solution. |
I think it a good thing to create a new release 1.5 for noetic etc. I don't think we should provide backward compatibility. So an 1.4.1 release sound like an option. I don't have the knowledge about what is ABI compatible and what not. Also I don't have the time to do this by myself, if I had that knowledge. If we go for that option you or @smits would need to determine what is ABI compatible and then we could split the tasks. |
Thank you @MatthijsBurgh and @meyerj for your comments. I am certain there are many other people like me who would appreciate using KDL in python. Appreciate all your efforts! For now I am going to just use KDL in cpp. If I manage to make pykdl work then i'll post my procedure here. |
@radhen we added that |
Should be fixed by #297; Stale issue |
I am trying to build the master branch of this repository with python3.6. I am following the steps mentioned here. I am also doing
git submodule init && git submodule update
to get the pybind11 files. The orocos_kdl folder builds without errors but not the python_orocos_kdl folder. I am pasting just a few lines of errors here for your reference.--------------------------------------------------------------- ERROR I GET ------------------------------------------------------------------------------------
--------------------------------------------------------------- ERROR I GET ------------------------------------------------------------------------------------
I believe there is some issue with the python version. I have ROS melodic installed and also python_orocos_kdl installed in ROS which uses python2. I have tried removing python_orocos_kdl from ROS and build this git package but still no luck. I am not sure if I understand the error properly. Could anyone please help me out?
The text was updated successfully, but these errors were encountered: