From: KIMURA G. <kim...@ca...> - 2012-06-19 04:43:27
|
Thank you for your response. I tried as you said , but same error occured. I tried boost update. Procedure is as follows. ・uninstalled all old libboost by typing 「apt-get --purge remove libboost-***」 ・downloaded boost 1.49.0 packege from http://sourceforge.net/projects/boost/files/boost/1.49.0/. ・installed libbz2-dev by typing 「sudo apt-get install libbz2-dev.」. ・installed libboost 1.49.0 by typing 「cd boost_1_49_0」 「./bootstrap.sh --prefix = /user」 「sudo ./b2 install」 Cmake output was same before and same "make update_bindings error"occured. Thanks. On Mon, 18 Jun 2012 10:46:55 +0200 (CEST) Aurelien Lambert <aur...@in...> wrote: > I add the same type of troubles when installing (on the same OS), and if I remember well, the part that was missing was on this page : http://ompl.kavrakilab.org/installPyPlusPlus.html > > The aviable version of boost is too old. Personnally, I just compiled the newest version of boost I found : http://sourceforge.net/projects/boost/files/boost/1.49.0/ > You sould erase all previous installed version before ... > > All other required parts where aviable on repositories, or installed by make ... > > I hope this helped you ! > > > ----- Mail original ----- > > De: "KIMURA Gen" <kim...@ca...> > > A: omp...@li... > > Envoye: Lundi 18 Juin 2012 07:10:42 > > Objet: [ompl-users] make update_bindings error > > > > Dear OMPL users/developers I shall be thankfull if someone could > > guide me > > on the following error during the ompl making update_bindings ; > > > > I tried at 2 OS using vmware, but same error occured. > > Following is the version I used. > > > > OS: Ubuntu 10.04 > > gcc version 4.4.3 > > GCC-XML version 0.9.0 > > boost : 1.42( I tried 「 apt-get install libboost-all-dev」 but I was > > said the newest version installed. I already did > > 「add-apt-repository」.) > > > > OS: Ubuntu 11.10 > > gcc version 4.6.1 > > GCC-XML version 0.9.0 > > boost : 1.46 > > > > > > ●How to install gccxml, pygccxml, and py++: > > make installpyplusplus (cvs and svn are installed , and no proxy) > > > > ●Another 3rd party software (boost etc..): > > I installed these softwares using this URL instractions. > > http://ompl.kavrakilab.org/installation.html > > > > ●Cmake output: > > omplapp-0.10.2-Source/build/Release$ cmake -DCMAKE_BUILD_TYPE=Release > > ../.. > > -- PQP library not found. Will download and compile. > > -- FLANN not found. Install FLANN for FCL collision checker support. > > -- Assimp library not found. Will download and compile. > > -- 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" > > -- Configuring done > > -- Generating done > > > > > > > > ●The error is as follows.(Ubuntu 11.10) > > > > omplapp-0.10.2-Source/build/Release$ make update_bindings > > [ 0%] Preparing C++ header file for Python binding generation for > > module app > > [ 0%] Built target app.h > > [ 12%] Preparing C++ header file for Python binding generation for > > module util > > [ 12%] Built target util.h > > [ 25%] Creating C++ code for Python module util (see > > pyplusplus_util.log) > > -- FLANN not found. Install FLANN for FCL collision checker support. > > -- Found GTest: /usr/lib/libgtest.so > > -- 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 app not found; type "make update_bindings" > > -- Configuring done > > -- Generating done > > -- Build files have been written to: > > /home/user/download/omplapp-0.10.2-Source/build/Release > > [ 25%] Built target update_util_bindings > > Scanning dependencies of target base.h > > [ 37%] Preparing C++ header file for Python binding generation for > > module base > > [ 37%] Built target base.h > > Scanning dependencies of target update_base_bindings > > [ 50%] Creating C++ code for Python module base (see > > pyplusplus_base.log) > > make[3]: *** [ompl/py-bindings/CMakeFiles/update_base_bindings] error > > 1 > > make[2]: *** > > [ompl/py-bindings/CMakeFiles/update_base_bindings.dir/all] error 2 > > make[1]: *** [ompl/py-bindings/CMakeFiles/update_bindings.dir/rule] > > error 2 > > make: *** [update_bindings] error 2 > > > > > > ●pyplusplus_base.log is as follows.(Ubuntu 11.10) > > > > INFO Loading cache file > > "/home/user/download/omplapp-0.10.2-Source/build/Release/pyplusplus_base.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 158, in __load > > cache = cPickle.load( cache_file_obj ) > > EOFError > > INFO Invalid cache file: > > [/home/user/download/omplapp-0.10.2-Source/build/Release/pyplusplus_base.cache] > > Regenerating. > > INFO Parsing source file "bindings/base.h" ... > > INFO gccxml cmd: /usr/bin/gccxml -I"." > > -I"/home/user/download/omplapp-0.10.2-Source/ompl/src" > > -I"/home/user/download/omplapp-0.10.2-Source/src" > > -I"/usr/include/python2.7" -I"/usr/include" > > -I"/home/user/download/omplapp-0.10.2-Source/ompl/src/external" > > "bindings/base.h" -fxml="/tmp/tmpvMTGfJ.xml" > > Traceback (most recent call last): > > File > > "/home/user/download/omplapp-0.10.2-Source/ompl/py-bindings/generate_bindings.py", > > line 550, in <module> > > globals()['ompl_'+module+'_generator_t']() > > File > > "/home/user/download/omplapp-0.10.2-Source/ompl/py-bindings/generate_bindings.py", > > line 119, in __init__ > > code_generator_t.__init__(self, 'base', ['bindings/util'], > > replacement) > > File > > "/home/user/download/omplapp-0.10.2-Source/ompl/py-bindings/ompl/bindings_generator.py", > > line 144, in __init__ > > indexing_suite_version = 1 ) > > 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 206, in read_file > > return self.read_gccxml_file( source_file ) > > File > > "/usr/local/lib/python2.7/dist-packages/pygccxml/parser/source_reader.py", > > line 231, in read_gccxml_file > > raise error > > pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured > > while running GCC-XML: xml_find_template_parm encountered > > unsupported type offsetof_expr > > xml_find_template_parm encountered unsupported type offsetof_expr > > > > > > I am lost. Cannot see through. > > Sorry for my poor English. > > Thanks in advance. > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions > > will include endpoint security, mobile security and the latest in > > malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > ompl-users mailing list > > omp...@li... > > https://lists.sourceforge.net/lists/listinfo/ompl-users > > |