I am trying to generate the Python bindings for OWLCPP, as well as, run the Python examples located in binding/python/test.
I have used the command
b2 --release owlcpp-py
for generating the python bindings. It seems that are 16 failed updated targets and 10 skipped targets, 277 having been updated. Here is the output for this: http://pastebin.com/KPFfmF7S
The user-config.jam file states the paths and version of the dependencies:
#Fileuser-config.jam#Describesbuildtoolsandlibrariesonyoursystem.##1.Copythisfile,"doc/user-config.jam",toyourHOMEfolder.#OnMSWindows,HOMEfolderisusually#"C:\Documents and Settings\your_user_name".##2.Uncommentlinesforthecompilersandothertoolsthatyouaregoingtouse.##3.Foreachlibrary,makesureitisavailableonthesystem,#uncomment"constant"statement,andspecifyitsfullpathandversion.##IMPORTANT:Useforwardslashes'/'.#IMPORTANT:Putspacesaroundcolonsandbeforesemicolons.##Seealso:#http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html#http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html##################################################################################Compilersandothertools##MicrosoftVisualC++#usingmsvc;##GCC(underLinuxofMSWindowsMinGW)usinggcc;##http://llvm.org/#usingclang;##MacOSX#usingdarwin;##Python(forgeneratingpythonbindings)##Formoredetailssee##http://www.boost.org/doc/libs/release/libs/python/doc/building.html##Alternatives:#usingpython;usingpython:2.7:/usr/bin/python2.7;#usingpython:3.4:/usr/bin/python3.4;#usingpython:2.7:"C:/Program Files/Python";##Doxygen(generatingdocumentationfromsourcecode,optional)##http://www.stack.nl/~dimitri/doxygen/##SpecifyingDoxygenlocationmayberequired.Forexample##usingdoxygen:"c:/Program Files/doxygen/bin/doxygen.exe";#usingdoxygen;##PathforGITclientexecutable(optional)##http://git-scm.com/#path-constantGIT_PATH:"c:/Program Files (x86)/Git/bin/git.exe";##################################################################################Libraries##Uncomment"constant"statementsandprovidecorrectpathsandversions.localutils="/home/username";##Boostlibrarysource##http://www.boost.org/constantBOOST:"$(utils)/boost_1_58_0/"1.58.0;##libxml2librarysource##http://xmlsoft.org/constantLIBXML2:"$(utils)/libxml2-2.9.2"2.9.2;##pre-builticonvlibrary(requiredunderMSWindows)##http://www.zlatkovic.com/libxml.en.html#constantICONV:"$(utils)/cpp/iconv-1.9.2.win32"1.9.2;##Raptorlibrarysource##http://librdf.org/raptor/constantRAPTOR:"$(utils)/raptor2-2.0.15"2.0.8;##FaCT++librarysource##http://code.google.com/p/factplusplus/constantFACTPP:"$(utils)/FaCT++-linux-v1.6.3"1.6.3;##owlcpplibrarysource##http://sourceforge.net/projects/owl-cpp/##(optionally)uncommentthistouseowlcpplibraryinyourprojectsconstantOWLCPP:"$(utils)/project/libs/owlcpp/owlcpp-v0.3.4"0.3.4;
Remark for library dependencies: RAPTOR version used is 2.0.15 but the script for external dependencies considers it as being older than 2.0.8. Therefore, a hack has been made to circumvent this abnormality. Please see external/ext/raptor.jam, line #41.
Thank you!
Last edit: cprecup 2015-04-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello there,
I am trying to generate the Python bindings for OWLCPP, as well as, run the Python examples located in binding/python/test.
I have used the command
for generating the python bindings. It seems that are 16 failed updated targets and 10 skipped targets, 277 having been updated. Here is the output for this: http://pastebin.com/KPFfmF7S
The user-config.jam file states the paths and version of the dependencies:
I'd like to know whether the set of unsolved targets is complete for generating the python bindings (as perhaps mentioned in this thread: https://sourceforge.net/p/owl-cpp/discussion/1784117/thread/7caa814f/). If so, where exactly should the owlcpp python module be located?
I have tried running the test scripts, e.g. binding/python/test/test_logic_1.py but the following error pops up:
Remark for library dependencies: RAPTOR version used is 2.0.15 but the script for external dependencies considers it as being older than 2.0.8. Therefore, a hack has been made to circumvent this abnormality. Please see external/ext/raptor.jam, line #41.
Thank you!
Last edit: cprecup 2015-04-28
Hello,
Please try HEAD of the repo and Raptor v2.0.14. Please also use the source release of FaCT++ (FaCT++-src-v1.6.3).
I have not used Raptor v2.0.15 yet. Indeed, owlcpp v0.3.4 is confused about Raptor versions.
Best
Mikhail