Install robot_localization package Issues [closed]

asked 2019-08-16 10:04:43 -0500

Horst gravatar image

updated 2019-08-19 03:42:06 -0500

gvdhoorn gravatar image

Hey guys,

im quite new to ros and i've got a serious question. I am using Windows 10 and Ros-Melodic. I've downloaded the Package from here and put in in my workspace in here: D:\catkin_ws\src (parallel to my own other packages). If i'm going to build that now i've got some problems that "geographic_msgs" and "uuid_msgs" is unknown. So what i've done is to copy that msgs-packages from the ros website into the src folder of catkin_ws. The Error disappears. Now the building process runs till 64% and the following error occurs:

[ 64%] Building CXX object robot_localization-melodic-devel/CMakeFiles/filter_utilities.dir/src/filter_utilities.cpp.obj

cl : Command line error D8021 : invalid numeric argument '/Werror'
NMAKE : fatal error U1077: "C:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\Hostx64\x64\cl.exe": Return-Code "0x2"
Stop.

NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64\nmake.exe"": Rückgabe-Code "0x2"
Stop.

NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64\nmake.exe"": Rückgabe-Code "0x2"
Stop.
Invoking "nmake" failed

Do you know how to solve that error? Was that the right way to install packages (I cant use sudo apt-get and the win-package manager chocolatey doesnt offer that package so i tried this way)? Please help me.

Thanks in advance

Horst

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Horst
close date 2019-08-20 11:58:06.286956

Comments

1

@Horst, could you give it a try of this fork: https://github.com/ms-iot/robot_local... which should be able to build on Windows.

Sean Yen gravatar imageSean Yen ( 2019-08-19 16:53:11 -0500 )edit

Hey Sean,

Thank your very much you saved my day. That works fine!

Horst gravatar imageHorst ( 2019-08-20 02:03:09 -0500 )edit