Hello I am trying to compile your application but I am getting some problems building it.
I am compiling in Linux and have followed the instructions you have. However this is what I get. From what I understand it can't find some files. Are they specific to a version of Fact++?
I am on CentOS Linux 6.2 using GCC 4.7.0
I hope to hear from you soon
Thanks in advance
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/obj_type.o...
gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_type.o
In file included from lib/logic/factpp/data_type.cpp:6:0:
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
compilation terminated.
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_range.o...
gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/expression.o
In file included from lib/logic/factpp/expression.cpp:11:0:
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
compilation terminated.
owlcpp has been tested on Ubuntu, Windows, and OSX. It should work on CentOS as well.
Any of the recent versions of FaCT++ can be used. Just in case, which one do you have? Please make sure it is a source code distribution (not precompiled binaries).
What is your version of owlcpp? What build command do you invoke?
"b2 release"? What do you have in owlcpp/out/include/factpp directory? How many files?
Regards
Mikhail
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just got the latest one from the GIT repository. I have also downloaded the 0.3.3 from SF.
I am calling "b2 release"
I tried it with Fact++1.6.1 and 1.6.2.
It build libxml and raptor fine. I think it's when it get to Fact++ this error comes up.
This is the error i got with LLVM. (I think it's more descriptive than gcc)
lib/logic/factpp/data_property.cpp:7:10: fatal error: 'factpp/Kernel.hpp' file not found
include "factpp/Kernel.hpp"
lib/logic/factpp/data_type.hpp:10:10: fatal error: 'factpp/tDLExpression.hpp' file not found
include "factpp/tDLExpression.hpp"
out/include/factpp is not created.
Regards
Amine
Last edit: majaidi 2013-07-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are using a source distribution of FaCT++, right?
Could you please delete directory owlcpp/out, run "b2 -d2 release", and send me the complete output from it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I am trying to compile your application but I am getting some problems building it.
I am compiling in Linux and have followed the instructions you have. However this is what I get. From what I understand it can't find some files. Are they specific to a version of Fact++?
I am on CentOS Linux 6.2 using GCC 4.7.0
I hope to hear from you soon
Thanks in advance
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/obj_type.o...
gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_type.o
In file included from lib/logic/factpp/data_type.cpp:6:0:
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
compilation terminated.
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_type.o...
gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_range.o
lib/logic/factpp/data_range.cpp:12:29: fatal error: factpp/Kernel.hpp: No such file or directory
compilation terminated.
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/data_range.o...
gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/expression.o
In file included from lib/logic/factpp/expression.cpp:11:0:
lib/logic/factpp/data_type.hpp:10:36: fatal error: factpp/tDLExpression.hpp: No such file or directory
compilation terminated.
...failed gcc.compile.c++ /home/majaidi/Projects/owlcpp/out/bin/logic/gcc-4.7.0/release/link-static/factpp/expression.o...
...skipped
libowlcpp_logic.a(clean) for lack of
triple_to_fact.o...
...skipped
libowlcpp_logic.a for lack of
triple_to_fact.o...
...skipped
validate for lack of
validate.o...
...failed updating 21 targets...
...skipped 12 targets...
...updated 426 targets...
Last edit: majaidi 2013-07-10
Hello Amine,
owlcpp has been tested on Ubuntu, Windows, and OSX. It should work on CentOS as well.
Any of the recent versions of FaCT++ can be used. Just in case, which one do you have? Please make sure it is a source code distribution (not precompiled binaries).
What is your version of owlcpp? What build command do you invoke?
"b2 release"? What do you have in owlcpp/out/include/factpp directory? How many files?
Regards
Mikhail
Hello Mikhail
I just got the latest one from the GIT repository. I have also downloaded the 0.3.3 from SF.
I am calling "b2 release"
I tried it with Fact++1.6.1 and 1.6.2.
It build libxml and raptor fine. I think it's when it get to Fact++ this error comes up.
This is the error i got with LLVM. (I think it's more descriptive than gcc)
lib/logic/factpp/data_property.cpp:7:10: fatal error: 'factpp/Kernel.hpp' file not found
include "factpp/Kernel.hpp"
lib/logic/factpp/data_type.hpp:10:10: fatal error: 'factpp/tDLExpression.hpp' file not found
include "factpp/tDLExpression.hpp"
out/include/factpp is not created.
Regards
Amine
Last edit: majaidi 2013-07-11
You are using a source distribution of FaCT++, right?
Could you please delete directory owlcpp/out, run "b2 -d2 release", and send me the complete output from it?
I am glad this issue is resolved.
I will modify the build system to test whether the external library files were found. It will produce a more obvious error message.
Thanks for bringing this up
Not a problem. Thanks for helping me troubleshoot it.
the build has gone a lot smoother now
Here's the message I got in the end
...failed updating 2 targets...
...skipped 9 targets...
...updated 708 targets...
Thanks
Oh, so it still does not work! Please run the build again (without cleaning) and send me the output