Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
504 stars 532 forks source link

Invoking "nmake" failed #32

Open robbiedood opened 4 years ago

robbiedood commented 4 years ago

Dear rplidar_ros friends,

Thanks for creating the ros tool, it works very well on my Ubuntu 18.04 machine. However, when I try to build it in windows 10, I got below error message:

C:\catkin_ws\src\rplidar_ros\src\node.cpp(359): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data C:\catkin_ws\src\rplidar_ros\src\node.cpp(374): warning C4305: 'initializing': truncation from 'double' to 'float' NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1426~1.288\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.26.28801\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. Invoking "nmake" failed

====

Maybe I miss something, Hope to hear your expertise on the issue.

Thank you

HanDaSeul commented 4 years ago

same issue happened on my Windows 10, too