Dear sirs,
I tried to install Toolchain 2.6. on Ubuntu using the following commands:
cd $HOME mkdir orocos cd orocos mkdir orocos-toolchain cd orocos-toolchain wget -O bootstrap-2.6.sh http://gitorious.org/orocos-toolchain/build/raw/toolchain-2.6:bootstrap.sh sh bootstrap.sh source env.sh but I got an error.Shows below.
rtt(/home/duan/orocos/orocos-toolchain/rtt): failed in build phase
'make' returned status 2 see /home/duan/orocos/orocos-toolchain/install/log/rtt-build.log for details last 10 lines are: [ 1%] Building CXX object rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/ServiceRequester.cpp.o In file included from /home/duan/orocos/orocos-toolchain/rtt/rtt/ServiceRequester.hpp:45:0, from /home/duan/orocos/orocos-toolchain/rtt/rtt/ServiceRequester.cpp:39: /home/duan/orocos/orocos-toolchain/rtt/rtt/Service.hpp:62:56: fatal error: boost/smart_ptr/enable_shared_from_this2.hpp: No such file or directory #include <boost/smart_ptr/enable_shared_from_this2.hpp> ^ compilation terminated. make[2]: *** [rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/ServiceRequester.cpp.o] Error 1 make[1]: *** [rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/all] Error 2 make: *** [all] Error 2autoproj failed to build your configuration. This means most of the time that there is a problem with the sources. You can try to manually complete the bootstrap by typing these two commands:
. env.sh autoproj buildIf that does not work, send an email to the Orocos user's mailing list: Then I run the . env.sh and autoproj build.The error didn't fix.Show error message shows below.
Build failed rtt(/home/duan/orocos/orocos-toolchain/rtt): failed in build phase
'make' returned status 2 see /home/duan/orocos/orocos-toolchain/install/log/rtt-build.log for details last 10 lines are: [ 0%] Building CXX object rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/ServiceRequester.cpp.o In file included from /home/duan/orocos/orocos-toolchain/rtt/rtt/ServiceRequester.hpp:45:0, from /home/duan/orocos/orocos-toolchain/rtt/rtt/ServiceRequester.cpp:39: /home/duan/orocos/orocos-toolchain/rtt/rtt/Service.hpp:62:56: fatal error: boost/smart_ptr/enable_shared_from_this2.hpp: No such file or directory #include <boost/smart_ptr/enable_shared_from_this2.hpp> ^ compilation terminated. make[2]: *** [rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/ServiceRequester.cpp.o] Error 1 make[1]: *** [rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/all] Error 2 make: *** [all] Error 2What have I to do to complete installation?
Thank you for your support.
The same problem during install orocos on ubuntu14
I have encountered the same problems,so I want to know have you solved it now? I am looking forward to your answer.Thank you very much!
The same problem during install orocos on ubuntu14
Can you elaborate on the problems you are facing?
R.
On Mon, Jan 5, 2015 at 1:43 AM, <wangkun [..] ...> wrote:
> I have encountered the same problems,so I want to know have you solved it
> now?
> I am looking forward to your answer.Thank you very much!
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
Re:
R.
On Mon, Jan 5, 2015 at 1:43 AM, <wangkun [..] ...> wrote:
> I have encountered the same problems,so I want to know have you solved it > now? > I am looking forward to your answer.Thank you very much! > -- > Orocos-Users mailing list > Orocos-Users [..] ... > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users >
rtt(/home/duan/orocos/orocos-toolchain/rtt): failed in build phase
then I check my files to find the boost/smart_ptr/enable_shared_from_this2.hpp but it is not exist, at last I modified the source code service.hpp of Orocos ToolChain2.6 to Orocos ToolChain2.7 then the problem has been solved but I encountered another one.The error shows below:configured CMake for ocl
Build failed typelib(/home/wangkun/orocos/orocos-toolchain/typelib): failed in build phase autoproj failed to build your configuration. This means most of the time that there is a problem with the sources. You can try to manually complete the bootstrap by typing these two commands: Does this problem is caused by the version of Orocos ToolChain2.7? Thank you for your support!Re:
Hello,
I've encountered the same problem you describe with OROCOS v2.6 installation under Ubuntu 14.04 some months ago. The solution I found at that time was to recursively remove all the packages that gave compilation errors and
wget
them again from the OROCOS source repository.From my side, this was related to the
log4cpp ocl rtt typelib
packages, so I solved hitting:I just thought that something related to the sources downloaded by the bootstrap.sh was wrong, but I found no more "in depth" solutions...
Federico