title: window ros visual studio 2017 catkin make error
body: <p>ros was installed with visual studio 17, and roscore was confirmed to operate without problems.
  However, when creating a work space and catkin_make, a cmake error occurs. If anyone knows about this problem, I would appreciate it if you could help me.</p>
  <p>There is also visual studio 19, but the purpose is to operate in a visual 17 environment.</p>
  <p>What I tried.</p>
  <ol>
  <li>The compiler was not found, so the path with the 2017 compiler (cl.exe) was added from the environmental variable.</li>
  </ol>
  <p>I would appreciate it if you understand even if my grammar is wrong because my English is poor.</p>
  <pre><code>    CMake Error: Generator: execution of make failed. Make command was: nmake /nologo cmTC_2f6b7\fast &amp;&amp;
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
  CMake Error: Generator: execution of make failed. Make command was: nmake /nologo cmTC_02420\fast &amp;&amp;
  -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - broken
  CMake Error at C:/opt/ros/melodic/x64/lib/site-packages/cmake/data/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
    The C compiler
  
      &quot;C:/Program Files (x86)/Microsoft Visual Studio/2017/WDExpress/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe&quot;
  
    is not able to compile a simple test program.
  
    It fails with the following output:
  
      Change Dir: C:/gh_ws/build/CMakeFiles/CMakeTmp
  
      Run Build Command(s):nmake /nologo cmTC_02420\fast &amp;&amp; 지정된 파일을 찾을 수 없습니다
      Generator: execution of make failed. Make command was: nmake /nologo cmTC_02420\fast &amp;&amp;
  
  
  
  
    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:6 (project)
  
  
  -- Configuring incomplete, errors occurred!
  See also &quot;C:/gh_ws/build/CMakeFiles/CMakeOutput.log&quot;.
  See also &quot;C:/gh_ws/build/CMakeFiles/CMakeError.log&quot;.
  Invoking &quot;cmake&quot; failed
  </code></pre>