AcademySoftwareFoundation / AcademySoftwareFoundation/OpenRV

Windows Build: Why does the windows build guide instructs to add "mingw64/bin" to ~/.bash_profile?

Open
#1,086 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
764
Forks
246
Avg merge
6d 12h
Merged PRs (30d)
13

Description

The guide already tells us to run "MSYS2 MINGW64" shell. That one already has "mingw64/bin" in the PATH.
Additionally adding "mingw64/bin" to ~/.bash_profile potentially breaks other msys2 shells/toolchains, as it's loaded in all of them.

Maybe instead of poluting the global ~/.bash_profile, the project can use a .bat file that adds the necessary envars and loads the correct shell?

Contributor guide

Open the contributing guide

Research direction

Locate the Windows build guide and review its instructions for the MSYS2 MINGW64 shell and ~/.bash_profile. Confirm whether the global PATH change is needed, then update the documented setup or provide the proposed shell-loading approach; done means the guide avoids unintended changes to other MSYS2 toolchains.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.