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

Creating a project using the CMake: Quick Start command will fail to build #4087

Open
v-frankwang opened this issue Sep 20, 2024 · 0 comments
Labels
bug a bug in the product Feature: quick start more votes needed We currently are de-prioritizing this issue until more community up-votes are provided
Milestone

Comments

@v-frankwang
Copy link
Collaborator

Brief Issue Summary

Repro Steps:

  1. Create a folder named demo and open it with vscode
  2. Create a project using the CMake: Quick Start command.
  3. After the project is created, run the command: CMake: Build

Expected result:
The project build success

Actual result:
The project build failure
issue1

CMake Tools Diagnostics

{
  "os": "win32",
  "vscodeVersion": "1.93.1",
  "cmtVersion": "1.19.51",
  "configurations": [
    {
      "folder": "c:\\Users\\v-frankwang\\Desktop\\demo",
      "cmakeVersion": "3.19.0",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.42.34321/bin/Hostx86/x86/cl.exe",
        "CXX": "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.42.34321/bin/Hostx86/x86/cl.exe"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": true,
    "activeBuildType": "Debug",
    "buildTypesSeen": [
      "Debug"
    ],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 1,
    "executablesCount": 1,
    "librariesCount": 0,
    "targets": [
      {
        "name": "Helloworld",
        "type": "EXECUTABLE"
      }
    ]
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log

No response

Additional Information

No response

@v-frankwang v-frankwang added bug a bug in the product and removed triage labels Sep 20, 2024
@gcampbell-msft gcampbell-msft added this to the Backlog milestone Oct 1, 2024
@gcampbell-msft gcampbell-msft added the more votes needed We currently are de-prioritizing this issue until more community up-votes are provided label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the product Feature: quick start more votes needed We currently are de-prioritizing this issue until more community up-votes are provided
Projects
Status: Pending Prioritization
Development

No branches or pull requests

2 participants