-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
CMake couldn't find realsense2 #2724
Comments
Hi @mericgeren I would recommend against installing the ROS wrapper on Windows if it is possible to use Linux instead. It is possible to install the wrapper on Windows but the majority of attempts to do so are unsuccessful. Using the direct version number of the wrapper (2.3.2) instead of a tag is the correct action on Windows. When following the wrapper's Windows installation instructions, be careful to input each of the cd .. directory change commands so that you are in the correct directory when inputting the catkin_make clean command. I believe that after the two cd .. commands are used, you should be in the The Intel RealSense team member who created the RealSense ROS1 wrapper has stated in the past that despite the advice in the error message to set a path for |
Hi, thank you for your advices. Unfortunatelly, i have to use Windows. I did the |
Yes, I mean inputting |
I just tried your suggestion. But, the error seems to persist. |
Does the same occur if you put a V in front of the version number: |
When i put a V in front of the version number i see this error:
When i did this:
|
Thank you. Backtracking in the instructions a little, can you confirm that you:
|
|
It appears that you have followed the entire procedure correctly and it still does not work. There is nothing else that can be done, unfortunately. As mentioned, installing the ROS wrapper on Windows usually does not succeed. |
Thank you for your help. Doesn't editing CMakeLists.txt or package.xml in a way which enables cmake to create config.cmake files for realsense can solve this issue? Or do i need to create config.make files for realsense ground up? If so how can i do this? P.S. I am still interested in what does cause this problem and possible solutions to the problem. |
I could not find any references that indicate that editing CMakeLists.txt will solve the problem or how to perform such edits. A RealSense ROS user at #2280 (comment) had the same problem on Windows with catkin_make clean and decided in the end not to use Windows. I appreciate that this is not an option in your case. A RealSense user commented at #2280 (comment) that they were successful if they used the version number 2.2.22. So you could try the previous version number 2.3.1 instead of 2.3.2 to see if it makes a difference. It is not known why this issue with Windows occurs and there are no other solutions for the ROS1 wrapper if it occurs. The ROS1 wrapper is also no longer updated and has been renamed ros1-legacy, with the ROS2 wrapper now being the one that is actively updated by the RealSense ROS development team. A couple of ROS2 wrapper users got the RealSense ROS2 wrapper working with Windows at #2587 and #2660 after applying numerous step by step fixes, which illustrates the difficulty of achieving a successful wrapper installation on Windows. |
Thank you so much for your time and your kind help. Currently trying 2.2.22 with Realsense SDK v2.42.0 i will update on a success or a failiure. |
Hi, just tried all the steps from very beginning using ROS wrapper version 2.2.22 and Realsense SDK2.0 v2.42.0 exactly following steps without any mistake and unfortunatelly, i got the same error. But, i was able to input the command: and i got the following messages afterwards:
And there is the error i see in roslaunch.log:
And there is what i see in rosout.log:
This is from camera-realsense2_camera-3-stdout.log:
Thank you sincerely for all the help you offer. |
The roslaunch log does not get to the point where the wrapper version and RealSense SDK version are detected before the first errors occur, which suggests to me that realsense2_camera (the wrapper) has not been built and so it cannot be loaded. |
I am using Windows 10 and currently have ROS noetic, Intel Realsense SDK 2.0 v2.50.0 (with Intel.RealSense.SDK-WIN10-2.50.0.3785.exe) installed. But, when i follow Step 2 of installation instructions for realsense-ros (with tag 2.3.2) at the step where i enter the command:
catkin_make clean
i get the error message shown below:could you help me on this issue please?
The text was updated successfully, but these errors were encountered: