microsoft / microsoft/vscode-cmake-tools

"Failed to copy "/workspace/NewMask-Layout/build/compile_commands.json" to ".": {2}"

Open
#1,281 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: configure Feature: settings quick fix
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

In the configuration stage, it shows error "Failed to copy "/workspace/NewMask-Layout/build/compile_commands.json" to ".": {2}"

  • Operating System: Ubuntu
  • CMake Version: 3.7.3
  • VSCode Version: 1.45.3
  • CMake Tools Extension Version: 1.40.0
  • Compiler/Toolchain: GCC 9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the configuration stage that reports the copy failure and trace handling of compile_commands.json in the CMake Tools extension. Reproduce with the Ubuntu, CMake 3.7.3, VSCode 1.45.3, extension 1.40.0, and GCC 9 details given. Done means configuration completes without this error and the file is copied to the requested destination.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.