Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

New Path from VSCode Docs #7

@Ricky-Patel

Description

@Ricky-Patel

The build settings do not work when following the updated VS Code Docs for installing Mingw64. The new path as recommended does not match the tasks.json file and results in errors to build and output.

New path: C:\msys64\mingw64\bin
Existing path: C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\gcc.exe

I was able to update the path in tasks.json but I am getting an error where I cannot open output file 1.exe.

[Running] cd "c:\Users\ricky\CP-VSCode-Setup-main\Current\" && g++ 1.cpp -o 1 && "c:\Users\ricky\CP-VSCode-Setup-main\Current\"1
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file 1.exe: Permission denied
collect2.exe: error: ld returned 1 exit status

[Done] exited with code=1 in 1.012 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions