coin-or / coin-or/coin-or.github.io
Building with Visual Studio in MSys2: wrong version of link
- Dominant language
- HTML
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
I use a visual studio command prompt, instead of vcvarsall.bat to set up the environment .
Following the other instructions under the heading Building with Visual Studio in MSys2 on
https://coin-or.github.io/user_introduction.html#building-with-visual-studio-in-msys2
I get the following result (which shows the wrong version of link)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>set PATH=C:\msys64\usr\bin;%PATH%
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>bash
Community>which link
/usr/bin/link
Community>
If I do the following, I get the correct version of link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>set PATH=%PATH%;C:\msys64\usr\bin
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>bash
Community>which link
/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX86/x86/link
Community>
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the “Building with Visual Studio in MSys2” section linked in user_introduction.html and reproduce the two PATH setups shown in the issue. Update the instructions so the documented command order selects the Visual Studio link executable, then verify that `which link` resolves to the Visual Studio path shown in the report.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100