ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Matt_Blanc's profile - activity

2020-12-18 16:39:41 -0500 marked best answer How to make package using ROS on Windows ?

While using catkin_make in the folder with CMakeLists.txt file, the following error was shown: What is the correct way to make a package while using ROS in Windows 10?

Visual Studio: Community Version

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
  The CMAKE_C_COMPILER:

    cl

  is not a full path and was not found in the PATH.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error in CMakeLists.txt:
  The CMAKE_CXX_COMPILER:

    cl

  is not a full path and was not found in the PATH.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
2019-07-23 23:07:16 -0500 received badge  Student (source)
2019-07-23 23:07:11 -0500 received badge  Famous Question (source)
2019-06-18 01:43:16 -0500 received badge  Notable Question (source)
2019-05-21 00:20:58 -0500 received badge  Popular Question (source)
2019-05-20 02:10:35 -0500 asked a question How to make package using ROS on Windows ?

How to make package using ROS on Windows ? While using catkin_make in the folder with CMakeLists.txt file, the following