Menu

problem when using git clone src

Help
zhou
2015-10-20
2015-10-24
  • zhou

    zhou - 2015-10-20

    Hello,I want to try the master owlcpp f5ef9b.
    my user-config.jam :

    Compilers and other tools

    Microsoft Visual C++

    using msvc ;

    Python (for generating python bindings)

    For more details see

    http://www.boost.org/doc/libs/release/libs/python/doc/building.html

    Alternatives:

    using python ;

    using python : 2.7 : /usr/bin/python ;

    using python : 3.3.2 : "D:/Program Files/Python33" ;

    using python : 2.7 : "D:/Python27/" ;

    Doxygen (generating documentation from source code, optional)

    http://www.stack.nl/~dimitri/doxygen/

    Specifying Doxygen location may be required. For example

    using doxygen : "D:/Program Files/doxygen/bin/doxygen.exe" ;

    using doxygen ;

    Path for GIT client executable (optional)

    http://git-scm.com/

    path-constant GIT_PATH : "D:/Program Files/Git/bin/git.exe" ;

    Libraries

    Uncomment "constant" statements and provide correct paths and versions.

    local utils = "H:/OWLCPP-Git" ;

    Boost library source

    http://www.boost.org/

    constant BOOST : "D:/Opt/boost_1_59_0/" 1.59.0 ;

    libxml2 library source

    http://xmlsoft.org/

    constant LIBXML2 : "$(utils)/libxml2-2.9.1" 2.9.1 ;

    pre-built iconv library (required under MS Windows)

    http://www.zlatkovic.com/libxml.en.html

    constant ICONV : "$(utils)/iconv-1.9.2.win32" 1.9.2 ;

    Raptor library source

    http://librdf.org/raptor/

    constant RAPTOR : "$(utils)/raptor2-2.0.15" 2.0.15 ;

    FaCT++ library source

    http://code.google.com/p/factplusplus/

    constant FACTPP : "$(utils)/FaCT++-1.6.1" 1.6.3 ;

    owlcpp library source

    http://sourceforge.net/projects/owl-cpp/

    (optionally) uncomment this to use owlcpp library in your projects

    constant OWLCPP : "$(utils)/owlcpp-v0.3.4" 0.3.4 ;

    but it keep telling me:

    H:\OWLCPP-Git\OWLCPP\owl-cpp-code>b2 release
    jamroot.jam:20: in modules.load
    ERROR: rule "git_describe" unknown in module "Jamfile<H:\\OWLCPP-Git\\OWLCPP\\owl-c pp-code="">".
    D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:325: in load-jamfile
    D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:64: in load
    D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:145: in project.find
    D:/Opt/boost_1_59_0/tools/build/src\build-system.jam:535: in load
    D:\Opt\boost_1_59_0\tools\build\src/kernel\modules.jam:295: in import
    D:\Opt\boost_1_59_0\tools\build\src/kernel/bootstrap.jam:139: in boost-build
    H:\OWLCPP-Git\OWLCPP\owl-cpp-code\boost-build.jam:11: in module scope

    maybe my method was wrong and I have been struggled with OWLCPP for days. Could you please tell me how to.

    BTW, when I first come to use OWLCPP && boost. I have built the factpp,raptor,libxml...seprately,very hard for a newer in programming. I just confused about the "## Boost library source", library or source or both? For helping more newers here, I hope a STEP-BY-STEP tutorial to How-to-use OWLCPP. Much thanks. :)

     
    • M Levin

      M Levin - 2015-10-20

      There is an issue with boost build 1.59. I am investigating. Please use
      boost 1.58 meanwhile.
      Best
      Mikhail
      On Oct 20, 2015 11:12 AM, "zhou" smilencezq@users.sf.net wrote:

      Hello,I want to try the master owlcpp f5ef9b.
      my user-config.jam :
      Compilers and other tools Microsoft Visual C++

      using msvc ;
      Python (for generating python bindings) For more details see
      http://www.boost.org/doc/libs/release/libs/python/doc/building.html
      Alternatives: using python ; using python : 2.7 : /usr/bin/python ; using
      python : 3.3.2 : "D:/Program Files/Python33" ;

      using python : 2.7 : "D:/Python27/" ;
      Doxygen (generating documentation from source code, optional)
      http://www.stack.nl/~dimitri/doxygen/ Specifying Doxygen location may be
      required. For example

      using doxygen : "D:/Program Files/doxygen/bin/doxygen.exe" ;
      using doxygen ; Path for GIT client executable (optional)
      http://git-scm.com/

      path-constant GIT_PATH : "D:/Program Files/Git/bin/git.exe" ;
      Libraries Uncomment "constant" statements and provide correct paths and
      versions.

      local utils = "H:/OWLCPP-Git" ;
      Boost library source http://www.boost.org/

      constant BOOST : "D:/Opt/boost_1_59_0/" 1.59.0 ;
      libxml2 library source http://xmlsoft.org/

      constant LIBXML2 : "$(utils)/libxml2-2.9.1" 2.9.1 ;
      pre-built iconv library (required under MS Windows)
      http://www.zlatkovic.com/libxml.en.html

      constant ICONV : "$(utils)/iconv-1.9.2.win32" 1.9.2 ;
      Raptor library source http://librdf.org/raptor/

      constant RAPTOR : "$(utils)/raptor2-2.0.15" 2.0.15 ;
      FaCT++ library source http://code.google.com/p/factplusplus/

      constant FACTPP : "$(utils)/FaCT++-1.6.1" 1.6.3 ;
      owlcpp library source http://sourceforge.net/projects/owl-cpp/ (optionally)
      uncomment this to use owlcpp library in your projects constant OWLCPP :
      "$(utils)/owlcpp-v0.3.4" 0.3.4 ;

      but it keep telling me:

      H:\OWLCPP-Git\OWLCPP\owl-cpp-code>b2 release
      jamroot.jam:20: in modules.load
      ERROR: rule "git_describe" unknown in module
      "Jamfile<H:\\OWLCPP-Git\\OWLCPP\\owl-c pp-code="">".
      D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:325: in load-jamfile
      D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:64: in load
      D:/Opt/boost_1_59_0/tools/build/src/build\project.jam:145: in project.find
      D:/Opt/boost_1_59_0/tools/build/src\build-system.jam:535: in load
      D:\Opt\boost_1_59_0\tools\build\src/kernel\modules.jam:295: in import
      D:\Opt\boost_1_59_0\tools\build\src/kernel/bootstrap.jam:139: in
      boost-build
      H:\OWLCPP-Git\OWLCPP\owl-cpp-code\boost-build.jam:11: in module scope

      maybe my method was wrong and I have been struggled with OWLCPP for days.
      Could you please tell me how to.

      BTW, when I first come to use OWLCPP && boost. I have built the
      factpp,raptor,libxml...seprately,very hard for a newer in programming. I
      just confused about the "## Boost library source", library or source or
      both? For helping more newers here, I hope a STEP-BY-STEP tutorial to
      How-to-use OWLCPP. Much thanks. :)


      problem when using git clone src
      https://sourceforge.net/p/owl-cpp/discussion/1784117/thread/dc58e0c4/?limit=25#a689


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/owl-cpp/discussion/1784117/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • M Levin

    M Levin - 2015-10-20

    There is an issue with boost build 1.59. I am looking into this. Meanwhile please use boost 1.58. Only Boost source is needed.
    Best
    Mikhail

     
  • zhou

    zhou - 2015-10-21

    Thanks for replying so soon.but I still have problems using VS or MinGW.
    My goal is using MinGW so that I can use OWLCPP both on Windows && on Linux for further use. And for Qt(mingw) development.
    I'm trying 0.3.4 0.3.3 0.3.2 and its user-config's default version of boost,factpp.libxml2,raptor,iconv,etc for several days. For today I have tested only source as you told, but failed.

    confirm the method

    Shortly, I'm using:
    1. generate b2. test msvc(default);mingw(gcc)
    2. Add to PATH of b2
    3. edit boost-build.jam and copy to owlcpp-0.3.2
    4. edit user-config.jam and copy to HOME
    5. b2 release

    for owlcpp-v0.3.4 using
    boost_1_53_0 libxml2-2.9.0 iconv-1.9.2.win32 raptor2-2.0.14(2.0.8) FaCT++-1.6.1

    but:
    for mingw-gcc it tells
    ......
    ...skipped <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\apps\\gcc-mingw-4.8.1\\release\\link-sta tic="">validate.exe for lack of <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\ext\\raptor\\raptor\\g cc-mingw-4.8.1\\release\\link-static\\raptor-version-2.0.8="">libraptor-mgw48-2_0.a...

    ...failed updating 114 targets...
    ...skipped 14 targets...
    ...updated 597 targets...

    for msvc(VS2010 default VC11)
    ......
    ...failed updating 6 targets...

    Question

    1. If the method is correct
    2. If the version is correct
    3. If any requires about the environment
    4. anything else i haven't considered

    hope

    1. the version matches for Windows(VS or MinGW best for both)
    2. right steps for Windows MinGW
    3. could supply the OWLCPP libs or dlls for windows and linux(a bit shame indeed but for emergy use)

    At last,
    Thank you very much for helping and contributing.
    Best
    Zhou Walle

     
  • M Levin

    M Levin - 2015-10-21

    I have not tried MinGW yet. Please feel free to contribute a patch to make it work. Currently, msvc works under Windows and gcc and Clang work under Linux.
    Older versions of owlcpp may (do) not work with newer libraries. Please stay with the most current one or HEAD.
    Best
    Mikhail

     
  • zhou

    zhou - 2015-10-22

    Hello,I have tested
    owlcpp-v0.3.4 boost_1_53_0 libxml2-2.9.0 raptor2-2.0.14(2.0.8) FaCT++-1.6.1 and java.python.doxygen.etc
    on ubuntu12.04-x86 with gcc 4.7.3 last night.
    It went quite smoothly with out any confusions and succeed less than half an hour!
    Though I have not tested to use it.

    ==========================================================================
    On windows with msvc(VC10 VS2010) at least 4 errors about raptor,factpp and others I cannot figure.

    On windows with mingw-gcc4.8.1&4.7.2
    gcc.archive H:\OWLCPP-1\owlcpp-v0.3.4\out\ext\factpp\factpp\gcc-mingw-4.7.2\rele
    ase\link-static\libfactpp_kernel-mgw47.a
    ...skipped <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\apps\\gcc-mingw-4.7.2\\release\\link-sta tic="">validate.exe for lack of <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\ext\\raptor\\raptor\\g cc-mingw-4.7.2\\release\\link-static\\raptor-version-2.0.8="">libraptor-mgw47-2_0.a...

    ...failed updating 114 targets...
    ...skipped 14 targets...
    ...updated 653 targets...

    It seems the raptor problem.
    I've changed to Raptor 2.0.12, and add the curl.xslt.libtool's bin(compiled succeed myself) to PATH, I've compiled raptor2.0.12 with mingw successfully seprately so the env&src should be right.
    but it shows:(I've changed raptor.jam found in the previous blog you supplied)
    ...skipped <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\apps\\gcc-mingw-4.7.2\\release\\link-sta tic="">validate.exe for lack of <pH:\\OWLCPP-1\\owlcpp-v0.3.4\\out\\ext\\raptor\\raptor\\g cc-mingw-4.7.2\\release\\link-static\\raptor-version-2.0.12="">libraptor-mgw47-2_0.a..
    .
    ...failed updating 94 targets...
    ...skipped 14 targets...
    ...updated 45 targets...

    ====================================================================
    In a word,still failed on windows with msvc and mingw with I want most.
    For now, I don't have any ideas to solve the problem.

    Last Question
    How to use the Git version?
    Cause it keep telling me the rule 'git_describe' unknown.
    Best Wishes
    Zhou Walle

     
  • zhou

    zhou - 2015-10-22

    Oh, I still wonder the versions of owlcpp boost libxml2 raptor2 FaCT++- and java.python.doxygen.etc that matched for windows msvc (VC??). so I can know if the env problem of my computer.
    Thank you~
    Best Wishes
    Zhou Walle

     
  • zhou

    zhou - 2015-10-24

    Hello:
    Thank you for your help.
    I've finally built OWLCPP successfully in Windows 7 VS 2013.

    the configuration is:
    VS2013-VC12 x86 CMD
    owl-cpp-code-f5ef9b
    boost_1_58_0
    libxml2-2.9.1
    iconv-1.9.2.win32
    raptor2-2.0.15
    FaCT++v-1.6.3
    the step for short is
    get source code above(except iconv);
    generate b2.exe;
    edit user-config.jam;
    edit boost-build.jam;
    run b2

    The reason why always failed with MinGW still confuse me. I guess that, for raptor,libxml and even owlcpp, they all support MinGW poorly as even use MinGW to comile them one by one can hardly succeed. I guess have to wait till the correct version comes out.
    Best wishes
    Zhou Walle

     
  • M Levin

    M Levin - 2015-10-24

    Hi Zhou,

    I'm glad it worked for you. Thank you for posting

    Mikhail

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.