Comments (10)
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.
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.
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.
Did you get it to work with catkin build
?
from orocos_kinematics_dynamics.
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.
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.
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.
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.
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.
@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)
- 5Dof IK is not reporting angles as expected
- AddressSanitizer throws errors HOT 3
- Compile issue of python bindings HOT 10
- Question about the computational performance of KDL on redundant kinematic chains HOT 4
- Joint Limits on Inverse Kinematic solver HOT 1
- Python Version Error HOT 6
- Website Documentation Wrong
- Installing KDL with python bindings on macos when building from source HOT 1
- Scaling of RigidBodyInertia values HOT 3
- ImportError: dynamic module does not define module export function (PyInit_PyKDL) HOT 14
- compiling eigen not found HOT 2
- CMake error of SET(KDL_CFLAGS "${KDL_CFLAGS} -I${EIGEN3_INCLUDE_DIR}") HOT 2
- Cmake Build Error HOT 2
- Path_RoundedComposite::Clone() doesn't copy F_base_start and F_base_via HOT 2
- compilation error HOT 2
- Bump version in master branch after release
- Frame composition does nothing. HOT 1
- Gravity Compensation with PyKDL always gives Zero HOT 2
- Problem with path_line trajectory, C code, bad quaternions in trajectory
- Build error on OpenBSD HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orocos_kinematics_dynamics.