I understand that we need apps for testing and how to use. But I want to use the library on my embedded system. At least It should build the library without building the apps.
But I would be nice if you got store all .lib in folder because in MSVC you need it.
That is good you working on a documentation but I want to use this library in my master thesis, so maybe you can say one sentence to each lib-folder so I know for what we need it.
io := ?
logic := ?
rdf := ?
terms := ?
raptor := ?
libxml2 := ?
fact++ := for OWL checking.
I using Visual Studio 10.0 ultimate and the owlcpp v0.3.2
and in jamroot.jam I have to change
<toolset>msvc:<cxxflags>/Gy
to
<toolset>msvc:<cxxflags>/MTd
First warning
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'int64' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(int64)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(509) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(69) : see reference to function template instantiation 'Target boost::numeric_cast<Out,__int64>(Source)' being compiled
with
Target=bool,
Out=bool,
Source=__int64
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(68) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_int &)'
with
Out=bool
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(128) : see reference to class template instantiation 'owlcpp::detail::Get_value<Out>' being compiled
with
Out=bool
lib\logic\factpp\obj_type.cpp(81) : see reference to function template instantiation 'Out owlcpp::value<bool>(const owlcpp::Node_id,const owlcpp::Triple_store &)' being compiled
with
Out=bool
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'unsigned int64' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(unsigned int64)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(509) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(73) : see reference to function template instantiation 'Target boost::numeric_cast<Out,unsigned __int64="">(Source)' being compiled
with
Target=bool,
Out=bool,
Source=unsigned __int64
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(72) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_unsigned &)'
with
Out=bool
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'double' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(double)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(480) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(77) : see reference to function template instantiation 'Target boost::numeric_cast<Out,double>(Source)' being compiled
with
Target=bool,
Out=bool,
Source=double
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(76) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_double &)'
with
Out=bool
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe : fatal error LNK1169: one or more multiply defined symbols found
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.pdb
compile-c-c++ C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.obj
print_triples.cpp
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe : fatal error LNK1169: one or more multiply defined symbols found
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.pdb
compile-c-c++ C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.obj
print_classes.cpp
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe : fatal error LNK1169: one or more multiply defined symbols found
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
msvc.archive C:\utils\owlcpp\owlcpp-0.3.2\out\ext\factpp\factpp\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\libfactpp_kernel-vc100-mt-sgd.lib
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe : fatal error LNK1169: one or more multiply defined symbols found
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
To build just the library without sample applications please use command "b2 rdf io logic".
If you would like to copy all owlcpp .lib-s and .dll-s to a specific folder, please define an additional "install" target in jamroot.jam.
Brief description of owlcpp modules:
rdf module is for storing and querying RDF nodes and triples.
io module (currently) is for reading ontologies in RDF/XML format; depends on Raptor and libxml2.
logic module is for generating axioms from RDF triples and passing them to FaCT++ reasoner.
owlcpp::terms namespace is for namespace IRIs and nodes defined by OWL2 standard.
Please first try building owlcpp without changing jamroot.jam and using "b2 debug" command and let me know if you get any errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey @all,
I had some trouble to build this library ( Win7 and MSVC-10.0) but I got it, okay it didn't build the apps but you can build over the MSVC GUI .
But I deleted the ".apps" form the build script and it didn't work anymore. I think the library and the apps should be independent.
So my Idea is to change the build environment and adapting the boost structure, because most people already now this structure.
owlcpp-3_2_0
|
+-owlcpp // the old include folder
|
+-libs
|...|
|...+rdf
|.....|
|.....+build
|.....|
|.....+src
|.....|
|.....+test
|
+-stage
|
...................
all .libs will be copied in owlcpp-3_2_0/stage/lib
The other thing we also should have a doc like boost because I have now NO idea which lib does what !
I changed the 0.2.0 version to the boost structure and it work better for me.
I just a idea think about ! I like to help to change it
Last edit: M Levin 2013-05-24
Could you please tell specifically what trouble you have building the library under Win7?
Please make sure you are using either the latest release or the head of the master branch.
I tested v0.3.2 on Win7. Everything builds correctly, including sample applications (apps).
Small sample applications are needed for testing the library and for illustrating its intended use. They are not independent.
Right now, the project directory structure is easy enough to follow. I prefer not to change it without a really strong justification.
You are absolutely right about the documentation. I am working on it.
Thank you for your comments
Mikhail
Hy Levin,
I understand that we need apps for testing and how to use. But I want to use the library on my embedded system. At least It should build the library without building the apps.
But I would be nice if you got store all .lib in folder because in MSVC you need it.
That is good you working on a documentation but I want to use this library in my master thesis, so maybe you can say one sentence to each lib-folder so I know for what we need it.
io := ?
logic := ?
rdf := ?
terms := ?
raptor := ?
libxml2 := ?
fact++ := for OWL checking.
I using Visual Studio 10.0 ultimate and the owlcpp v0.3.2
My command to build it
"b2 variant=debug toolset=msvc-10.0 link=static threading=multi runtime-link=static"
and in jamroot.jam I have to change
<toolset>msvc:<cxxflags>/Gy
to
<toolset>msvc:<cxxflags>/MTd
First warning
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'int64' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(int64)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(509) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter.hpp(35) : see reference to class template instantiation 'boost::numeric::convdetail::non_rounding_converter<Traits,RangeChecker,RawConverter>' being compiled
with
Traits=conv_traits,
RangeChecker=boost::numeric::convdetail::generic_range_checker<conv_traits,boost::numeric::convdetail::LT_Zero<conv_traits>,boost::numeric::convdetail::GT_HiT<conv_traits>,boost::numeric::numeric_cast_traits<bool,__int64>::overflow_policy>,
RawConverter=boost::numeric::raw_converter<conv_traits>
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/cast.hpp(53) : see reference to class template instantiation 'boost::numeric::converter<T,S,Traits,OverflowHandler,Float2IntRounder,RawConverter,UserRangeChecker>' being compiled
with
T=bool,
S=__int64,
Traits=conv_traits,
OverflowHandler=boost::numeric::numeric_cast_traits<bool,__int64>::overflow_policy,
Float2IntRounder=boost::numeric::Trunc<boost::long_long_type>,
RawConverter=boost::numeric::raw_converter<conv_traits>,
UserRangeChecker=boost::numeric::numeric_cast_traits<bool,__int64>::range_checking_policy
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(69) : see reference to function template instantiation 'Target boost::numeric_cast<Out,__int64>(Source)' being compiled
with
Target=bool,
Out=bool,
Source=__int64
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(68) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_int &)'
with
Out=bool
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(128) : see reference to class template instantiation 'owlcpp::detail::Get_value<Out>' being compiled
with
Out=bool
lib\logic\factpp\obj_type.cpp(81) : see reference to function template instantiation 'Out owlcpp::value<bool>(const owlcpp::Node_id,const owlcpp::Triple_store &)' being compiled
with
Out=bool
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'unsigned int64' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(unsigned int64)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(509) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter.hpp(35) : see reference to class template instantiation 'boost::numeric::convdetail::non_rounding_converter<Traits,RangeChecker,RawConverter>' being compiled
with
Traits=conv_traits,
RangeChecker=boost::numeric::convdetail::generic_range_checker<conv_traits,boost::numeric::convdetail::LT_LoT<conv_traits>,boost::numeric::convdetail::GT_HiT<conv_traits>,boost::numeric::numeric_cast_traits<bool,unsigned __int64="">::overflow_policy>,
RawConverter=boost::numeric::raw_converter<conv_traits>
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/cast.hpp(53) : see reference to class template instantiation 'boost::numeric::converter<T,S,Traits,OverflowHandler,Float2IntRounder,RawConverter,UserRangeChecker>' being compiled
with
T=bool,
S=unsigned __int64,
Traits=conv_traits,
OverflowHandler=boost::numeric::numeric_cast_traits<bool,unsigned __int64="">::overflow_policy,
Float2IntRounder=boost::numeric::Trunc<boost::ulong_long_type>,
RawConverter=boost::numeric::raw_converter<conv_traits>,
UserRangeChecker=boost::numeric::numeric_cast_traits<bool,unsigned __int64="">::range_checking_policy
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(73) : see reference to function template instantiation 'Target boost::numeric_cast<Out,unsigned __int64="">(Source)' being compiled
with
Target=bool,
Out=bool,
Source=unsigned __int64
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(72) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_unsigned &)'
with
Out=bool
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : warning C4800: 'double' : forcing value to bool 'true' or 'false' (performance warning)
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter_policies.hpp(187) : while compiling class template member function 'bool boost::numeric::raw_converter<Traits>::low_level_convert(double)'
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/detail/converter.hpp(480) : see reference to class template instantiation 'boost::numeric::raw_converter<Traits>' being compiled
with
Traits=conv_traits
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/converter.hpp(35) : see reference to class template instantiation 'boost::numeric::convdetail::rounding_converter<Traits,RangeChecker,RawConverter,Float2IntRounder>' being compiled
with
Traits=conv_traits,
RangeChecker=boost::numeric::convdetail::generic_range_checker<conv_traits,boost::numeric::convdetail::LE_PrevLoT<conv_traits>,boost::numeric::convdetail::GE_SuccHiT<conv_traits>,boost::numeric::numeric_cast_traits<bool,double>::overflow_policy>,
RawConverter=boost::numeric::raw_converter<conv_traits>,
Float2IntRounder=boost::numeric::Trunc<double>
c:\utils\boost\boost_1_53_0\boost/numeric/conversion/cast.hpp(53) : see reference to class template instantiation 'boost::numeric::converter<T,S,Traits,OverflowHandler,Float2IntRounder,RawConverter,UserRangeChecker>' being compiled
with
T=bool,
S=double,
Traits=conv_traits,
OverflowHandler=boost::numeric::numeric_cast_traits<bool,double>::overflow_policy,
Float2IntRounder=boost::numeric::Trunc<double>,
RawConverter=boost::numeric::raw_converter<conv_traits>,
UserRangeChecker=boost::numeric::numeric_cast_traits<bool,double>::range_checking_policy
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(77) : see reference to function template instantiation 'Target boost::numeric_cast<Out,double>(Source)' being compiled
with
Target=bool,
Out=bool,
Source=double
C:\utils\owlcpp\owlcpp-0.3.2\include\owlcpp/rdf/query_node.hpp(76) : while compiling class template member function 'void owlcpp::detail::Get_value<Out>::visit_impl(const owlcpp::Node_double &)'
with
Out=bool
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe : fatal error LNK1169: one or more multiply defined symbols found
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\find_owl.pdb
compile-c-c++ C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.obj
print_triples.cpp
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe : fatal error LNK1169: one or more multiply defined symbols found
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_triples.pdb
compile-c-c++ C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.obj
print_classes.cpp
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe : fatal error LNK1169: one or more multiply defined symbols found
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\print_classes.pdb
msvc.archive C:\utils\owlcpp\owlcpp-0.3.2\out\ext\factpp\factpp\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\libfactpp_kernel-vc100-mt-sgd.lib
msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _abort already defined in LIBCMTD.lib(abort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: __errno already defined in LIBCMTD.lib(dosmap.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _malloc already defined in LIBCMTD.lib(dbgmalloc.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _free already defined in LIBCMTD.lib(dbgfree.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _qsort already defined in LIBCMTD.lib(qsort.obj)
msvcrt.lib(MSVCR100.dll) : error LNK2005: _sprintf already defined in LIBCMTD.lib(sprintf.obj)
Creating library C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.lib and object C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exp
LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
libraptor-vc100-mt-sgd-2_0.lib(raptor_sax2-vc100-mt-sgd-2_0.obj) : warning LNK4049: locally defined symbol _xmlFree imported
C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe : fatal error LNK1169: one or more multiply defined symbols found
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console /out:"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe" @"C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
...failed msvc.link C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.exe C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.pdb...
...removing C:\utils\owlcpp\owlcpp-0.3.2\out\apps\msvc-10.0\debug\link-static\runtime-link-static\threading-multi\validate.pdb
To build just the library without sample applications please use command "b2 rdf io logic".
If you would like to copy all owlcpp .lib-s and .dll-s to a specific folder, please define an additional "install" target in jamroot.jam.
Brief description of owlcpp modules:
rdf module is for storing and querying RDF nodes and triples.
io module (currently) is for reading ontologies in RDF/XML format; depends on Raptor and libxml2.
logic module is for generating axioms from RDF triples and passing them to FaCT++ reasoner.
owlcpp::terms namespace is for namespace IRIs and nodes defined by OWL2 standard.
Please first try building owlcpp without changing jamroot.jam and using "b2 debug" command and let me know if you get any errors.