NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.64k stars 338 forks source link

Fix Windows build. #886

Closed acolwell closed 1 year ago

acolwell commented 1 year ago

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. Additionally, make sure you've done all of these things:

PR Description

What type of PR is this? (Check one of the boxes below)

What does this pull request do?

Recent changes to build-natron.sh, that fix the Mac build, broke the Windows build. This change fixes the Windows build by using a unix version of the SDK_HOME just like PYTHON_HOME. The issue is that both of these paths have drive letters in them which cause problems with the ':' path delimiter used by shiboken2. Using unix paths avoid the unwanted ':'s from the windows paths.

The genDllVersions.sh change simply removes a DLL that is no longer needed. Updating my MSYS2 installation to the latest packages caused this DLL to no longer exist.

Have you tested your changes (if applicable)? If so, how?

Yes. Built a Windows installer with these changes.