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

Analyze by Clangでclang-cl.exeのフルパスが違うためエラーになる #1093

Open
n-kawauchi opened this issue Mar 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@n-kawauchi
Copy link

Describe the bug

Starting: Analyze by Clang
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.212.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
========================== Starting Command Output ===========================
"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\04c58197-017f-49ca-ad4b-658878e09ac3.cmd""
The system cannot find the path specified.
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  The CMAKE_CXX_COMPILER:

    C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/Llvm/bin/clang-cl.exe

  is not a full path to an existing compiler tool.

  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.


-- Configuring incomplete, errors occurred!
See also "D:/a/1/s/build/CMakeFiles/CMakeOutput.log".
See also "D:/a/1/s/build/CMakeFiles/CMakeError.log".
ninja: error: loading 'build.ninja': The system cannot find the file specified.


##[error]Cmd.exe exited with code '1'.
Finishing: Analyze by Clang
  • azure-pipelines.ymlで指定しているパスが関係しているのか?
    vcPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC'

Reproducibility
最近のPRマージの際に発生している

Environment

  • OS: Windows server 2022
2023-03-14T07:09:24.1105180Z ##[section]Starting: Analyze
2023-03-14T07:09:24.6438142Z ##[section]Starting: Initialize job
2023-03-14T07:09:24.6440917Z Agent name: 'Hosted Agent'
2023-03-14T07:09:24.6441450Z Agent machine name: 'WIN-RK0UQGU8LOI'
2023-03-14T07:09:24.6441723Z Current agent version: '2.217.2'
2023-03-14T07:09:24.6554308Z ##[group]Operating System
2023-03-14T07:09:24.6554578Z Microsoft Windows Server 2022
2023-03-14T07:09:24.6557097Z 10.0.20348
  • OpenRTM-aist Version 2.0.1
@n-kawauchi n-kawauchi added the bug Something isn't working label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant