Skip to content
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

[Melodic] catkin make error ros1 on windows #444

Open
lilweary opened this issue Mar 9, 2023 · 2 comments
Open

[Melodic] catkin make error ros1 on windows #444

lilweary opened this issue Mar 9, 2023 · 2 comments
Labels

Comments

@lilweary
Copy link

lilweary commented Mar 9, 2023

ROS Distro: `melodic'

hello, i am trying to use ros melodic on windows and have installed it following the instructions on ros wiki
i have selected following tools forVS-2019
Screenshot 2023-03-09 152559

as i use catkin_make at c:/catkin_ws i enconter the following error i have installed Moveit package using choco and had no problem there but building other packages from catkin_ws/src raises the following nmake error

[ 92%] Building CXX object universal_robot/ur_kinematics/CMakeFiles/ur3_moveit_plugin.dir/src/ur_moveit_plugin.cpp.obj
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
ur_moveit_plugin.cpp
Including header <class_loader/class_loader.h> is deprecated,
include <class_loader/class_loader.hpp> instead.
C:\catkin_ws\src\universal_robot\ur_kinematics\include\ur_kinematics/ur_moveit_plugin.h(97): fatal error C1083: Cannot open include file: 'moveit/kdl_kinematics_plugin/chainiksolver_pos_nr_jl_mimic.hpp': No such file or directory
NMAKE : fatal error U1077: 'C:\PROGRA2\MICROS2\2019\COMMUN1\VC\Tools\MSVC\14291.301\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.29.30133\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.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
Invoking "nmake" failed

please help me resolve this error.

@ooeygui
Copy link
Member

ooeygui commented Mar 9, 2023

Hi there,
It looks like you are building a UR driver which expects a later release of MoveIt than is available in the melodic release. Could you rebuild with Noetic?

@ooeygui ooeygui added more-information-needed ROS1 ROS1 Related Issue labels Mar 9, 2023
@ooeygui ooeygui changed the title catkin make error ros1 on windows [Melodic] catkin make error ros1 on windows Mar 9, 2023
@lilweary
Copy link
Author

lilweary commented Mar 9, 2023

hello! thank you for responding, i tried installing on both melodic and noetic i am seeing similar error on Cmakeerror.log file even with other packages . and cmd show nmake and invoking ninja error.
please have look at the following error log

Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/robot_ws/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/PROGRA2/MICROS2/2019/COMMUN1/Common7/IDE/COMMON1/MICROS~1/CMake/Ninja/ninja.exe cmTC_81535 && [1/2] Building C object CMakeFiles\cmTC_81535.dir\CheckIncludeFile.c.obj

FAILED: CMakeFiles/cmTC_81535.dir/CheckIncludeFile.c.obj

C:\PROGRA2\MICROS2\2019\COMMUN1\VC\Tools\MSVC\14291.301\bin\Hostx64\x64\cl.exe /nologo /DWIN32 /D_WINDOWS /W3 /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_81535.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_81535.dir\ /FS -c CheckIncludeFile.c

CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants