Giter Site home page Giter Site logo

Comments (10)

zkingston avatar zkingston commented on June 16, 2024

It appears that everything was found appropriate for your Python installation. Rather than using the downloaded source, could you clone the repo at the current main branch and try to rebuild? There were some previously noted issues with Python binding compilation.

from ompl.

IEI245MU5 avatar IEI245MU5 commented on June 16, 2024

Thank you for the response,

I tried to build the cloned repo, but encountered this issue when calling cmake

kaiwen@kaiwen-MS-7A68:~/Downloads/omplapp/build/Release$ cmake ../..
-- Build type: Release
CMake Error at CMakeLists.txt:25 (include):
  include could not find load file:

    CompilerSettings


CMake Error at CMakeLists.txt:26 (include):
  include could not find load file:

    OMPLUtils


CMake Error at CMakeLists.txt:83 (find_boost_python):
  Unknown CMake command "find_boost_python".


-- Configuring incomplete, errors occurred!
See also "/home/kaiwen/Downloads/omplapp/build/Release/CMakeFiles/CMakeOutput.log".

from ompl.

zkingston avatar zkingston commented on June 16, 2024

Did you clone the repo with submodules? Failure to find those cmake modules means you probably cloned the omplapp repo without the sub-ompl module, do a git submodule update --init --recursive in the omplapp directory and try again.

from ompl.

IEI245MU5 avatar IEI245MU5 commented on June 16, 2024

Hi, thank you that was the issue with building the repo.

I was now able to build the repo successfully, but I still face the same issue as before:

~/Downloads/omplapp/gui$ ./ompl_app.py 
Traceback (most recent call last):
  File "./ompl_app.py", line 58, in <module>
    from ompl import base as ob
  File "/home/kaiwen/Downloads/omplapp/ompl/py-bindings/ompl/base/__init__.py", line 2, in <module>
    from ompl.base._base import *
ModuleNotFoundError
[CMakeCache.txt](https://github.com/ompl/ompl/files/11430961/CMakeCache.txt)
: No module named 'ompl.base._base'

I have attached the CMakeCache.txt

from ompl.

zkingston avatar zkingston commented on June 16, 2024

Did you run make update_bindings successfully?

from ompl.

IEI245MU5 avatar IEI245MU5 commented on June 16, 2024

Yes, it finished without errors, although there were some warnings for developers and some optional packages were not found.

from ompl.

zkingston avatar zkingston commented on June 16, 2024

Can you check the output of the build directory to confirm if the pypp.* files were generated? This should be in, e.g., build/py-bindings/bindings/util. If there are the pypp.{cpp,hpp} files, then you might need to just run make again. If not, then the binding process failed.

from ompl.

IEI245MU5 avatar IEI245MU5 commented on June 16, 2024

The build/Release/py-bindings/bindings directory is empty except an app.h file.

A bunch of .pypp.* files were generated in other directories like build/Release/ompl/py-bindings/bindings/util though.

I have attached the output of make update_bindings:
make update bings output.txt

from ompl.

zkingston avatar zkingston commented on June 16, 2024

Go into the ompl subdirectory and checkout the current main branch, this error has been fixed by more recent commits, specifically by #980

from ompl.

IEI245MU5 avatar IEI245MU5 commented on June 16, 2024

That worked out. Thank you!

from ompl.

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.