-
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
Unable to install on Windows 10 #2280
Comments
Hi @stevkr The problems that you experienced have been encountered by others in the past, such as the case at #1797 You can get around the git checkout issue on Windows by specifying the exact version number instead of searching for it with a tag, as described in the above case at #1797 (comment) Even after getting past this stage though, the -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release can act as a block to progressing further. If setting DCATKIN_ENABLE_TESTING to True instead of False does not work for you, my understanding is that the rosdep command below can be used instead. Navigate to the catkin workspace folder with cd ~/catkin_ws/src/ and then run the rosdep command from that folder: rosdep install --from-paths src --ignore-src -r -y An alternative version of this instruction that has been used by a couple of RealSense users with ROS Melodic is: rosdep install --from-paths src --ignore-src --rosdistro=melodic -y |
Thanks for your answer @MartyG-RealSense Unfortunately, the commands do not work as desired.
Moreover I cannot use the rosdep install command in the folder "src":
but one level above:
But even after entering the command, the next command in the instructions (catkin_make install) gives still error messages, do you have an idea what it could be? |
What method did you use to install the RealSense SDK, please - with the automated installer file Intel.RealSense.SDK-WIN10 or with vcpkg. If you installed with vcpkg then I would recommend using the automated installer file instead if possible. |
Hi, I removed all programs again (ROS & Intel SDK) hoping to get it error free.
So probably the automatic installer based SDK is not found. Edit:
The vcpkg seems to install Version (2.34.0) isn't this not an older version? |
2.34.0 is a very old version dating from March 2020, yes. It is also a version that I do not recommend using because it had an issue with continuously generating timing errors for some RealSense users. I would also recommend not using the vcpkg method to install librealsense if possible due to its complexity compared to the automated installer file and because Microsoft rather than Intel are responsible for vcpkg's upkeep. Can you confirm please that you are installing the RealSense SDK first and the RealSense ROS wrapper secondly after the SDK installation has completed? This is the correct order of installation. |
Yes I can confirm, first I installed RealSense SDK and then I try RealSense ROS wrapper.
So i guess, the installation of the SDK via .exe is not recognized |
I researched the issue further but are aware that in past cases involving this problem, if the advice provided above does not solve the problem with installing the ROS wrapper on Windows then a solution is usually not achieved. The last resort would be to check the advice given in #280 which provides suggestions such as deleting the build folder in catkin_ws and then re-running catkn make. I do apologize. |
Thanks again for your effort. |
The vast majority of RealSense ROS setups are on Linux operating systems. |
Hi @stevkr Do you require further assistance with this case, please? Thanks! |
@MartyG-RealSense I get around the problem by working with Realsense via MATLAB. |
I'm pleased to hear that you found a solution, @stevkr - thanks very much for the update! |
version 2.2.22 successful |
Thanks very much @wolegequwangge for sharing your experience with the RealSense ROS community of what works for you! |
Hello everyone,
I would like to get a D435 running via ROS on a Windows 10 machine.
I have followed the instructions:
There are no problems with the installation of ROS noetic.
However, I have problems following Step 2: Install Intel RealSense ROS from Sources:
The commands
are working fine.
The first problem occurs in this line:
git checkout
git tag | sort -V | grep -P "^2.\d+.\d+" | tail -1because the grep command is not recognised. I guess this is just a version indicator or something and not important for my runnability.
The much bigger problem arises when I run
catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
in. A larger list of errors appears there:
Can anyone help me?
Many greetings
The text was updated successfully, but these errors were encountered: