Comments (11)
Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).
This is probably already fixed in the omplapp & ompl repositories. Specifically, look at these commits:
f5d15c925e78bc7eadd705bdd18a7f42c6cfcdb3
176c21386be52f5b156f269aac9d1646ebf0a058
The python libs are in a different place on Ubuntu 13.04.
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
OK thanks to the hints, the problems concerning cmake seem to be resloved:
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- date_time
-- thread
-- program_options
-- serialization
-- filesystem
-- system
-- unit_test_framework
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- checking for module 'ccd=1.4'
-- package 'ccd=1.4' not found
-- checking for module 'fcl>=0.2.7'
-- package 'fcl>=0.2.7' not found
-- CCD library not found. Will download and compile.
-- FCL library not found. Will download and compile.
-- checking for module 'assimp'
-- package 'assimp' not found
-- Assimp library not found. Will download and compile.
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- Code for module base not found; type "make update_bindings"
-- Code for module control not found; type "make update_bindings"
-- Code for module geometric not found; type "make update_bindings"
-- Code for module tools not found; type "make update_bindings"
-- Code for module util not found; type "make update_bindings"
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- Code for module rrtstar not found; type "make update_bindings"
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- Code for module app not found; type "make update_bindings"
-- Configuring done
-- Generating done
-- Build files have been written to: /home/diablo/Desktop/omplapp-0.12.2-Source/build/Release
but now in whole update_binding stops whit these two errors:
Scanning dependencies of target fcl
[ 1%] Building CXX object src/CMakeFiles/fcl.dir/BV/AABB.cpp.o
[ 2%] Building CXX object src/CMakeFiles/fcl.dir/BV/OBBRSS.cpp.o
[ 4%] Building CXX object src/CMakeFiles/fcl.dir/BV/kDOP.cpp.o
[ 5%] Building CXX object src/CMakeFiles/fcl.dir/BV/RSS.cpp.o
make[3]: *** [ompl/py-bindings/CMakeFiles/update_util_bindings] Error 1
make[2]: *** [ompl/py-bindings/CMakeFiles/update_util_bindings.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
giving these errors, it continues to this:
[ 86%] Completed 'fcl'
[ 86%] Built target fcl
make[1]: *** [ompl/py-bindings/CMakeFiles/update_bindings.dir/rule] Error 2
make: *** [update_bindings] Error 2
which terminates the process.
from ompl.
Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).
Can you the file pyplusplus_util.log? You did type "make installpyplusplus" at some point, right?
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
Sure. Here you are:
INFO Loading cache file "/home/diablo/Desktop/omplapp-0.12.2-Source/build/Release/pyplusplus_util.cache".
ERROR Error occured while reading cache file:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/declarations_cache.py", line 162, in __load
cache = pickle.load( cache_file_obj )
EOFError
INFO Invalid cache file: [/home/diablo/Desktop/omplapp-0.12.2-Source/build/Release/pyplusplus_util.cache] Regenerating.
INFO Parsing source file "bindings/util.h" ...
INFO gccxml cmd: /usr/local/bin/gccxml -I"." -I"/home/diablo/Desktop/omplapp-0.12.2-Source/ompl/src" -I"/home/diablo/Desktop/omplapp-0.12.2-Source/src" -I"/usr/include/python2.7" -I"/usr/include" -I"/home/diablo/Desktop/omplapp-0.12.2-Source/build/Release/assimp-prefix/include" -I"/home/diablo/Desktop/omplapp-0.12.2-Source/ompl/src/external" "bindings/util.h" -fxml="/tmp/tmpIyffpw.xml"
In file included from /usr/include/endian.h:60,
from /usr/include/ctype.h:40,
from /usr/include/c++/4.7/cctype:44,
from /usr/include/c++/4.7/bits/localefwd.h:44,
from /usr/include/c++/4.7/string:45,
from /usr/include/c++/4.7/stdexcept:40,
from bindings/util.h:40:
/usr/include/x86_64-linux-gnu/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
/usr/include/x86_64-linux-gnu/bits/byteswap.h:47: error: '__builtin_bswap32' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/byteswap.h: In function '__uint64_t __bswap_64(__uint64_t)':
/usr/include/x86_64-linux-gnu/bits/byteswap.h:111: error: '__builtin_bswap64' was not declared in this scope
Traceback (most recent call last):
File "/home/diablo/Desktop/omplapp-0.12.2-Source/ompl/py-bindings/generate_bindings.py", line 642, in
globals()'ompl_'+module+'_generator_t'
File "/home/diablo/Desktop/omplapp-0.12.2-Source/ompl/py-bindings/generate_bindings.py", line 606, in init
code_generator_t.init(self, 'util', None, replacement)
File "/home/diablo/Desktop/omplapp-0.12.2-Source/ompl/py-bindings/ompl/bindings_generator.py", line 144, in init
indexing_suite_version = 2 )
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 95, in init
, indexing_suite_version)
File "/usr/local/lib/python2.7/dist-packages/pyplusplus/module_builder/boost_python_builder.py", line 138, in __parse_declarations
decls = reader.read_files( files, compilation_mode )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 217, in read_files
return self.__parse_file_by_file(files)
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/project_reader.py", line 242, in __parse_file_by_file
decls = reader.read_file( header )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", line 205, in read_file
return self.read_gccxml_file( source_file )
File "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", line 230, in read_gccxml_file
raise error
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML:
And yes, I have done "make installpyplusplus".
from ompl.
Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).
I am sorry, but I forgot that there have been some other unreleased changes that you will need. You need a newer version of gccxml. This commit has the necessary changes for the installPyPlus.sh.in script:
59a416f9861bf7287fb9b80d934f57cd6b9e7fb4
After you apply these change, re-run cmake, type "make installpyplusplus" again, and type "make update_bindings" again.
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
Sir, thank you very much, its all complete. Well done!
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
Its done now, with 3 files edited.
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
Error occurred running the program.
from ompl.
Original comment by Reza_Saidafkan (Bitbucket: Reza_Saidafkan, ).
All the cmake, make installpyplusplus, make update_bindings, make -j 2 commands copmpleted without any particular errors. But trying to run "test make", it encountered these errors:
21/23 Test #21: test_geometric_compoundstate.py ...***Exception: SegFault 0.75 sec
Start 22: test_control.py
22/23 Test #22: test_control.py ...................***Exception: SegFault118.90 sec
Start 23: test_py_boost_function.py
23/23 Test #23: test_py_boost_function.py ......... Passed 0.03 sec
87% tests passed, 3 tests failed out of 23
Total Test time (real) = 152.32 sec
The following tests FAILED:
20 - test_geometric.py (SEGFAULT)
21 - test_geometric_compoundstate.py (SEGFAULT)
22 - test_control.py (SEGFAULT)
Errors while running CTest
make: *** [test] Error 8
from ompl.
Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).
Which version of python are you using? What is the output if you run ompl/tests/geometric/test_geometric.py? Make sure that the python headers, libraries, interpreter and boost.python version are all using the same version of python.
from ompl.
Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).
No response to request for more information. Can't reproduce the error.
from ompl.
Related Issues (20)
- Update_bindings not working on apple m2 macOS 13.2.1 HOT 2
- ob::PlannerStatus solved = planner->ob::Planner::solve(1.0);this code crash HOT 1
- ST-RRT*
- Dockerfile build error HOT 1
- New Planner in Python HOT 2
- RRT* often does not find a path with more time than RRT HOT 2
- ompl.util._util error HOT 2
- ss.getSolutionPath().asGeometric().printAsMatrix()
- Segmentation fault (core dumped) while using pre-built Python wheel `ompl-1.6.0-cp38-cp38-manylinux_2_28_x86_64` HOT 1
- No QRRT in python
- Unreachable URL for SPOT
- No to_python (by-value) converter found for C++ type: std::pair<bool, bool> HOT 1
- libompl.so cannot be found HOT 1
- Segmentation fault when using ompl::tools:ParallelPlan in Python HOT 3
- AttributeError:module 'ompl.geometric' has no attribute 'vectorSpaceInformation'
- Setting up start and goal state in CompoundStateSpace() HOT 2
- When s0 is a state on the path, why is the cost from s0 to postemp not considered when calculating the cost from s0 to s1? HOT 1
- Implementation of Constraints on the SolutionPath HOT 3
- Crash on an Arm board HOT 1
- STRRTstar module 'ompl.base' has no attribute 'SpaceTimeStateSpace'
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 ompl.