-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Building Catkin-based Packages #32
Comments
What version of orocos are you building against? |
I'm building against the toolchain-2.7 branch of the gitorious orocos toolchain from the README.md. I'm also using the hydro-develop branch of the RTT ROS integration repo. |
The more that I look at these errors, the more it seems that this appears to be an issue with the boost's smart pointers (specifically shared_ptr's) and the assignment operator. Looking at the documentation for the shared_ptr on Boost's website, creation of a shared_ptr should be done with the new operator or using the reset() method of the shared_ptr so that the shared_ptr can take ownership of a pointer of the templated type. For instance the code line generating the error is currently:
which, I believe should be something like the following:
or
Is this a valid observation or am I completely in left field here? If valid, this is done in serval places throughout the code on the hydro-devel branch currently at commit cd18580 |
There was an api change in the return value of the requires function at one point. It looks like some of the code may have been reverted in a merge. I'll look into it Monday morning. |
The latest version of Meanwhile, it looks like https://github.com/orocos-toolchain/orocos_toolchain is out of date and its submodules need to be updated (it was last updated to 91f7f03 / March 14th). Your build should work if you go into your rtt directory and checkout toolchain-2.7. @psoetens Is it ok if I bump the versions in the orocos_toolchain repo? |
So, updating the RTT repo to toolchain-2.7 works and I can get past the RTT library. But, the build breaks on the OCL repo with a similar error: /home/ubuntu/catkin_ws/underlay_isolated/src/orocos/orocos_toolchain/ocl/taskbrowser/TaskBrowser.cpp: In member function 'bool OCL::TaskBrowser::printService(std::string)':
/home/ubuntu/catkin_ws/underlay_isolated/src/orocos/orocos_toolchain/ocl/taskbrowser/TaskBrowser.cpp:1349:44: error: cannot convert 'RTT::ServiceRequester::shared_ptr {aka boost::shared_ptr<RTT::ServiceRequester>}' to 'RTT::ServiceRequester*' in assignment
make[2]: *** [taskbrowser/CMakeFiles/orocos-ocl-taskbrowser.dir/TaskBrowser.cpp.o] Error 1
make[1]: *** [taskbrowser/CMakeFiles/orocos-ocl-taskbrowser.dir/all] Error 2
make: *** [all] Error 2
<== Failed to process package 'ocl': Should I make sure all of the folders under orocos_toolchain are at the toolchain-2.7 branch? |
Yeah, try that and it should work. |
Just confirmed this evening that making sure all repos under orocos_toolchain are on the toolchain-2.7 branch works and evening thing compiles successfully. Many thanks for your assistance! |
No problem. You can probably close this ticket now, I've created orocos-toolchain/orocos_toolchain/issues/9 to track the submodules over in orocos-toolchain. |
I have installed orocos toolchain 2.7 in indigo ros, After that i found out the version of orocos tool chain isoudated for indigo. so, I installed orocos toolchain 2.8. I have tried catkin_make_isolated --install. How to debug this error. how can i make sure all the files is in toolchain 2.8 `CMake Error: The following variables are used in this project, but they are set to NOTFOUND. -- Configuring incomplete, errors occurred! Reproduce this error by running: Command failed, exiting. |
I seems you don't have ncurses installed : To make sure all the files are 2.8, the best is to create a new clean workspace and |
To clean a workspace, just we have to delete the workspace only right? |
You can remove build/ and devel/, delete the current orocos-toolchain folder (in src/) and redownload it.
But if you don't use Xenomai, then you can just use the debians :)
|
I am new to ros and orocos . what is xenomai?. It may be silly question to you. sorry for that. How to remove buid and devel? |
To remove build and devel, just delete them : Xenomai is a library+kernel patches to create hard realtime application. I doubt you'll need it now, so you can just install orocos via apt-get. |
Thank you. I will come back to you after I try this |
Thank you for support. It worked nicely.:) When i want to install rtt_ros integration with this code I am getting this error. Could not find a package configuration file provided by "OROCOS-RTT" with
Add the installation prefix of "OROCOS-RTT" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! How can I solve it? |
I have installed rtt_soem seperatel in a different folder in same workspace. i build it by using catkin_make. It is working properly. but when run this code.
i got output like this,
Thank you for your support |
I have the same problem , how you solve it ? |
All,
I'm trying to build the rtt_ros_integration package by following the instructions at https://github.com/orocos/rtt_ros_integration, but I get a compile error when executing the "catkin_make" step of the Catkin-based build procedure. The error I get is as follows:
Does anyone know what I might be doing wrong? I've made sure that I've followed the directions closely. Also, I'm building on Ubuntu 13.04 and ROS Hydro.
The text was updated successfully, but these errors were encountered: