msys2 / msys2/msys2.github.io

Unable to compile helloworld.cpp example (from Visual Studio Code doc)

Open
#358 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
3.3k
Forks
446
Avg merge
2h 16m
Merged PRs (30d)
1

Description

Hello,

I have created a post on github for "Vs Code cpptools".
You can find the post here : https://github.com/microsoft/vscode-cpptools/discussions/13086

As you can see, I am not able to compile a simple helloworld with the last version on MYSYS2 msys2-x86_64-20241208.exe
Available here (msys2-x86_64-20241208.exe

But I can compile a simple helloworld in c (with gcc)

Is there any minimum requirement with the last version which make the error message appears?
image

With a previous install program (msys2-x86_64-20230526.exe) I have no problem.
Available here : https://github.com/msys2/msys2-installer/releases/download/2023-05-26/msys2-x86_64-20230526.exe

Thanks in advance for your help.

Contributor guide

No contributing guide indexed for this repository

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

No repository file or test is named. Start with the linked VS Code C++ discussion and reproduce the helloworld.cpp compilation using the 2024-12-08 and 2023-05-26 MSYS2 installers; done means identifying an actionable documentation or configuration change, if the issue belongs in this repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, vscode
Domain
build-system
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.