GithubHelp home page GithubHelp logo

Comments (10)

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

Try to build with --force-cmake.

If that doesn't fix the issue, set the cpp version both in orocos_kdl and python_ocoros_kdl to cpp14. Maybe that will do the job.

Have you tried building the python2 version. As on ubuntu 18.04 the CI succeeds for python2.

from orocos_kinematics_dynamics.

martinmatak avatar martinmatak commented on June 2, 2024

Tried adding --force-cmake --> same issue
Tied adding set(CMAKE_CXX_FLAGS "-std=c++14 ${CMAKE_CXX_FLAGS}") to both CMakeLists.txt files --> same issue
Tried combining the two approaches above --> Same issue
Checked out commit 6480921b236baacf282d32857c9a4a1c6f9bd971 --> all good i.e. it compiles

I don't really want to build it with python 2 because I need to use it with Python3

from orocos_kinematics_dynamics.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

I have run a test in GH actions, https://github.com/orocos/orocos_kinematics_dynamics/runs/6841870108, which does succeed. So it should be able to work.

from orocos_kinematics_dynamics.

martinmatak avatar martinmatak commented on June 2, 2024

Did you get it to work with catkin build?

from orocos_kinematics_dynamics.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

I did not test with catkin build in combination with 18.04 and python3. Testing that in CI is not that straight forward I think. Could you check if the plain cmake/make does work for you? (Maybe not the installing, just the cmake and make from https://github.com/orocos/orocos_kinematics_dynamics/blob/master/python_orocos_kdl/INSTALL.md)

from orocos_kinematics_dynamics.

MannavaVivek avatar MannavaVivek commented on June 2, 2024

I am facing the same issue with Ubuntu 20.04 and python 3.8
I have tried all the fixes mentioned here, but nothing is working.

from orocos_kinematics_dynamics.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

The CI does test cmake/make on Ubuntu 20.04 with python 3.8. which succeeds.
I am running the same versions on my own machine. I use catkin build on it. Which also works. With catkin build you need to run it once with --force-cmake.

@MannavaVivek please provide more insight in your machine and the steps you took

from orocos_kinematics_dynamics.

MannavaVivek avatar MannavaVivek commented on June 2, 2024

I did use catkin build with --force-cmake but the results were the same.
The only thing I could think of is the gcc version (mine is gcc 9.4.0).
I also pulled the code from the commit mentioned above 6480921b236baacf282d32857c9a4a1c6f9bd971 and was able to build it without issues. In all cases, only python_orocos_kdl had the error, while orocos_kdl built without issues.

from orocos_kinematics_dynamics.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

I am not sure what the easiest way to get this information. --verbose might do the job. But could you get the found paths of orocos_kdl and pybind during the PyKDL build. When these mismatch we have likely found the cause.

from orocos_kinematics_dynamics.

MatthijsBurgh avatar MatthijsBurgh commented on June 2, 2024

@MannavaVivek I figured out this is caused by an incompatible pybind version. One installed on your system, not the one in the submodule. If you had responded to my last question about providing the paths of the found libraries we would have found the issue much earlier. Which would have trouble for other people as well.

So next time please respond, when somebody is helping you.

from orocos_kinematics_dynamics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.