ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thanks jog, but that did not solve the issue: I still have to edit the installed header file (as opposed to the header file in the source tree), and I don't think that's a good way (?). The only thing that using -DCMAKE_INSTALL_PREFIX changed was that the installation is now in my home directory instead of /opt/ros/fuerte.
Details:
According to your suggestion, I created a new install subdir /home/xyz/ros-underlay/install, and then, from /home/xyz/ros-underlay, called
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make -j8
sudo make install
For the first sudo make install I could run make to have my modified callback_queue compiled. But for subsequent changes, I get the same make error as in my original question, and I can only get rid of it by editing the installed header file in /home/xyz/ros-underlay/install, instead of the "source" version in /home/xyz/ros-underlay/ros_comm/clients/cpp/roscpp/include/ros.
P.S. I wanted to post this as a comment to your answer, but there was no comment field.
2 | No.2 Revision |
Thanks jog, but that did not solve the issue: I still have to edit the installed header file (as opposed to the header file in the source tree), and I don't think that's a good way (?). The only thing that using -DCMAKE_INSTALL_PREFIX changed was that the installation is now in my home directory instead of /opt/ros/fuerte.
Details:
According to your suggestion, I created a new install subdir /home/xyz/ros-underlay/install, and then, from /home/xyz/ros-underlay, called
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make -j8
sudo make install
For the first sudo make install I could run make to have my modified callback_queue compiled. But for subsequent changes, I get the same make error as in my original question, and I can only get rid of it by editing the installed header file in /home/xyz/ros-underlay/install, instead of the "source" version in /home/xyz/ros-underlay/ros_comm/clients/cpp/roscpp/include/ros.
P.S. I wanted to post this as a comment to your answer, but there was no comment field.field (I only see comment fields under my own posts so far).
3 | No.3 Revision |
Thanks jog, joq, but that did not solve the issue: I still have to edit the installed header file (as opposed to the header file in the source tree), and I don't think that's a good way (?). The only thing that using -DCMAKE_INSTALL_PREFIX changed was that the installation is now in my home directory instead of /opt/ros/fuerte.
Details:
According to your suggestion, I created a new install subdir /home/xyz/ros-underlay/install, and then, from /home/xyz/ros-underlay, called
cmake .. -DCMAKE_INSTALL_PREFIX=../install
make -j8
sudo make install
For the first sudo make install I could run make to have my modified callback_queue compiled. But for subsequent changes, I get the same make error as in my original question, and I can only get rid of it by editing the installed header file in /home/xyz/ros-underlay/install, instead of the "source" version in /home/xyz/ros-underlay/ros_comm/clients/cpp/roscpp/include/ros.
P.S. I wanted to post this as a comment to your answer, but there was no comment field (I only see comment fields under my own posts so far).