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

Fix lastest msys2 windows build #322

Conversation

bernie-laberge
Copy link
Contributor

Fix lastest msys2 windows build

Linked issues

NA

Summarize your change.

  • Added the required SETUPTOOLS_USE_DISTUTILS=stdlib instruction to the documentation when installing the python requirements on Windows
  • Fixed the rvsetup alias so that on Windows, it contains the required SETUPTOOLS_USE_DISTUTILS=stdlib instruction.
  • Added a note to indicate that XCode 14.3.1 must be used to build Open RV on Mac (as FFmpeg cannot be built with a more recent XCode version such as XCode 15 for example)
  • Added a graphical icon to indicate which msys2 shell to use to build RV.
  • Added the new ACLOCAL_PATH env var requirement to build RV to the windows build instructions.

Describe the reason for the change.

A recent msys2 update made Open RV fail to build when installed.

Describe what you have tested and on which operating system.

Successful build was validated on Windows and Mac

Add a list of changes, and note any that might need special attention during the review.

If possible, provide screenshots.

Signed-off-by: Bernard Laberge <[email protected]>
@bernie-laberge bernie-laberge merged commit b211b26 into AcademySoftwareFoundation:main Nov 14, 2023
2 checks passed
@@ -47,7 +47,7 @@ RV_BUILD_PARALLELISM="${RV_BUILD_PARALLELISM:-$(python3 -c 'import os; print(os.

# ALIASES: Basic commands

alias rvsetup="python3 -m pip install --user --upgrade -r ${RV_HOME}/requirements.txt"
alias rvsetup="SETUPTOOLS_USE_DISTUTILS=${SETUPTOOLS_USE_DISTUTILS} python3 -m pip install --user --upgrade -r ${RV_HOME}/requirements.txt"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could that cause issues with non-Windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it on Mac and it is working fine : SETUPTOOLS_USE_DISTUTILS=

mchesnay pushed a commit to mchesnay/OpenRV that referenced this pull request Nov 27, 2023
### Fix lastest msys2 windows build

### Linked issues
NA

### Summarize your change.

- Added the required SETUPTOOLS_USE_DISTUTILS=stdlib instruction to the
documentation when installing the python requirements on Windows
- Fixed the rvsetup alias so that on Windows, it contains the required
SETUPTOOLS_USE_DISTUTILS=stdlib instruction.
- Added a note to indicate that XCode 14.3.1 must be used to build Open
RV on Mac (as FFmpeg cannot be built with a more recent XCode version
such as XCode 15 for example)
- Added a graphical icon to indicate which msys2 shell to use to build
RV.
- Added the new ACLOCAL_PATH env var requirement to build RV to the
windows build instructions.

### Describe the reason for the change.
A recent msys2 update made Open RV fail to build when installed.

### Describe what you have tested and on which operating system.

Successful build was validated on Windows and Mac

### Add a list of changes, and note any that might need special
attention during the review.

### If possible, provide screenshots.

Signed-off-by: Bernard Laberge <[email protected]>
Signed-off-by: Martin Chesnay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants