Giter VIP home page Giter VIP logo

Comments (2)

saiYeswanthG avatar saiYeswanthG commented on May 30, 2024

Hi,

I've just run the docker script on my URDF (from a Kinova Gen3) and when trying to execute a simple python script, I'm getting an error on importing the pyikfast_ package.

pyikfast_gen3_6dof.cpython-38-x86_64-linux-gnu.so: undefined symbol: dgeev_.

I've tried installing/updating gfortran, libopenblas-dev, liblapack-dev, python-dev as I've found recommend when googling this error, but with no luck. Do you have an advice?

Hey ! I was able to resolve the issue by making following changes to setup.py before running pip3 install .
make liblapack, libblas and libgfortan available to wheels build by making following changes, the library versions may be different.

import setuptools
from distutils.core import setup, Extension

extra_objects = [
    '/usr/lib/x86_64-linux-gnu/lapack/liblapack.a',
    '/usr/lib/x86_64-linux-gnu/libgfortran.so.5.0.0',
    '/usr/lib/x86_64-linux-gnu/blas/libblas.a',
]
def main():
    setup(
        name='pyikfast_robot',
        version='0.0.1',
        description='ikfast wrapper',
        author='Cyberbotics',
        author_email='[email protected]',
        ext_modules=[Extension('pyikfast_robot', ['ikfast_robot.cpp', 'pyikfast.cpp'],extra_objects=extra_objects)],
        setup_requires=['wheel']
    )


if __name__ == '__main__':
    main()

from pyikfast.

jwwang0-0 avatar jwwang0-0 commented on May 30, 2024

I got the same error on windows machine (win 10). I saw this post but it doesn't solve my issue. paudetseis/Telewavesim#2
Did someone figure out a solution?

from pyikfast.

Related Issues (3)

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.