Skip to content
This repository was archived by the owner on Jul 12, 2024. It is now read-only.
This repository was archived by the owner on Jul 12, 2024. It is now read-only.

[Melodic] catkin make error ros1 on windows #444

Open

Description

@lilweary

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.

Activity

  1. ooeygui commented on Mar 9, 2023

    @ooeygui
    Member

    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?

  2. changed the title [-]catkin make error ros1 on windows[/-] [+][Melodic] catkin make error ros1 on windows[/+] on Mar 9, 2023
  3. lilweary commented on Mar 9, 2023

    @lilweary
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ROS1more-information-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions