Menu

A little confused by doc/build.txt

Help
Simson
2014-09-03
2014-09-08
  • Simson

    Simson - 2014-09-03

    Now I need to build owl_cpp on my Win7 computer.
    first question is ,is there any dependencies/libraries that I need to setup before build owl_cpp?
    second question is, is boost.build the compiler, which can build owl_cpp?
    third question is ,can I use Vs2010 to build owl_cpp, how?
    forth question is, in the build.txt "If not already present, copy file "owlcpp/do...", what is "if not already present" mean, what present?

    sorry for my new to owl_cpp development, maybe my questions are very primitive.But still appreciate if you can offer any clues to me.

     
  • Simson

    Simson - 2014-09-05

    Well,I can run boost.build now, and the path of .\out\ under owl_cpp porject directory is created and filled with some files.
    I ran command"b2" under the project directory, but it mentioned me that, there are 11 targets failed updating.

    Here are all cmd output,hope someone can help me figure out if there are anything wrong.

    D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3>D:\Universal_Tank\boost_build\bin\ b2
    link.jam: No such file or directory
    ...found 1 target...
    ...updating 1 target...
    config-cache.write D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\project-cac
    he.jam
    ...updated 1 target...
    ...patience...
    ...patience...
    ...patience...
    ...found 10615 targets...
    ...updating 11 targets...
    msvc.link.dll D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\bin\io\msvc-10.0
    \debug\owlcpp_io.dll
    LINK : fatal error LNK1104: cannot open file 'boost_filesystem-vc100-mt-gd-1_55.
    lib'

        call "C:\Program Files\microsoft visual studio 10.0\vc\vcvarsall.bat" x8
    

    6 >nul
    link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /MACHINE:X86 /MANIFEST /subsystem:conso
    le /out:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\bin\io\msvc-10.0\debu
    g\owlcpp_io.dll" /IMPLIB:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\bin\ io\msvc-10.0\debug\owlcpp_io.lib" @"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0
    .3.3\out\bin\io\msvc-10.0\debug\owlcpp_io.dll.rsp"
    if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link.dll D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\bin\io
    \msvc-10.0\debug\owlcpp_io.dll D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out
    \bin\io\msvc-10.0\debug\owlcpp_io.lib D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.
    3.3\out\bin\io\msvc-10.0\debug\owlcpp_io.pdb...
    msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug
    \link-static\find_owl.exe
    LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_
    55.lib'

        call "C:\Program Files\microsoft visual studio 10.0\vc\vcvarsall.bat" x8
    

    6 >nul
    link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /o
    ut:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug\link-
    static\find_owl.exe" @"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\ msvc-10.0\debug\link-static\find_owl.exe.rsp"
    if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-
    10.0\debug\link-static\find_owl.exe D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.
    3\out\apps\msvc-10.0\debug\link-static\find_owl.pdb...
    msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug
    \link-static\print_triples.exe
    LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_
    55.lib'

        call "C:\Program Files\microsoft visual studio 10.0\vc\vcvarsall.bat" x8
    

    6 >nul
    link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /o
    ut:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug\link-
    static\print_triples.exe" @"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\ apps\msvc-10.0\debug\link-static\print_triples.exe.rsp"
    if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-
    10.0\debug\link-static\print_triples.exe D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-
    v0.3.3\out\apps\msvc-10.0\debug\link-static\print_triples.pdb...
    msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug
    \link-static\print_classes.exe
    LINK : fatal error LNK1104: cannot open file 'libboost_program_options-vc100-mt-
    gd-1_55.lib'

        call "C:\Program Files\microsoft visual studio 10.0\vc\vcvarsall.bat" x8
    

    6 >nul
    link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /o
    ut:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug\link-
    static\print_classes.exe" @"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\ apps\msvc-10.0\debug\link-static\print_classes.exe.rsp"
    if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-
    10.0\debug\link-static\print_classes.exe D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-
    v0.3.3\out\apps\msvc-10.0\debug\link-static\print_classes.pdb...
    msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug
    \link-static\validate.exe
    LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc100-mt-gd-1_
    55.lib'

        call "C:\Program Files\microsoft visual studio 10.0\vc\vcvarsall.bat" x8
    

    6 >nul
    link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST /subsystem:console /o
    ut:"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-10.0\debug\link-
    static\validate.exe" @"D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\ msvc-10.0\debug\link-static\validate.exe.rsp"
    if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

    ...failed msvc.link D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.3\out\apps\msvc-
    10.0\debug\link-static\validate.exe D:\Universal_Tank\owlcpp-v0.3.3\owlcpp-v0.3.
    3\out\apps\msvc-10.0\debug\link-static\validate.pdb...
    ...failed updating 11 targets...

    PS:FROM the message posted above, there seems something wrong with my boost::filesystem library.And it looks like the compiler trys to create some .exe file in ".\out\app\"directory but failed.

    PPS:There isn't anything like index.html or help or api.pdf thing in my "out" folder. How should I learn to use owl_cpp, there should be some staff to read.

    Please, someone anyone, Help me!Any help from you will be appreciate!!

     

    Last edit: Simson 2014-09-05
  • M Levin

    M Levin - 2014-09-08

    Hello Simon,

    I fixed the MSVC linking problems in the new release. Please check owlcpp-v0.3.4.

    To see how to use owlcpp, please see short sample programs in in the 'apps' directory.

    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.