This page is a work in progress !
Motivation
Blender is quite possibly the most popular 3D modelling appplication available, definitely the most popular free one. Enabling it would give considerably better performance on ARM64 platforms for Windows.
Status
WIP - “lite” working with some patches. “Release” needs dependencies enabling first.
Dependencies
- WOA-393Getting issue details... STATUS
Todo
Get “lite” building OOB, by making sure patches are pushed, and get “Release” version built.
Known Limitations
Currently building/launching is problematic, and requires manually copying DLLs at various points when the build process errors out. There are also many assumptions within blender’s codebase that “Windows == x64”, which needs to be worked out.
Compiling notes
NOTE: This must be done on a WoA machine - cross-compiling is not yet supported.
Currently the following native libraries/programs are required to be present in the vc15_win64 folder (all buildable via vcpkg bar python, which uses the native installer, and a copy-paste from that directory):
freetype (
freetype.lib
must be copied, with new file namefreetype2ST.lib
)zstd (
zstd.lib
must be copied and renamed tozstd_static.lib
)zlib (
zlib.lib
must be copied and renamed tolibz_st.lib
)pthreads
libpng (folder renamed to “png” +
libpng16.lib
must be copied and renamed tolibpng.lib
)libjpeg-turbo (folder renamed to “jpeg” +
jpeg.lib
must be copied and renamed tolibjpeg.lib
)brotli (uses arm64-windows-static target)
libepoxy (folder renamed to “epoxy”)
python
NOTE: We will ultimately move away from VCPKG, as the blender foundation will not accept it, and requires the dependencies be built manually using their CMake scripts. DO NOT GET TO RELY ON VCPKG FEATURES SUCH AS CMAKE TARGETS, ETC.
Compiling via build script
There is a build script written, which takes care of many of the interim steps required to build and run the lite version of Blender, available here: https://gitlab.com/Linaro/windowsonarm/packages/blender/-/tree/master/
It currently pulls our internal fork of blender, which has patches applied that are required to compile/run Blender.
To use:
Ensure you have VS2022 + CMake (>=3.24, which supports ARM64 hosts) installed on an ARM64 host
Clone repo
Execute
build.bat
from a plain cmd terminal - ie, not a vcvarsall instance! Plain powershell is also okWait for built to complete
Contributing changes to internal fork
If you wish to contribute changes to our internal fork, you may do so by making a merge request for your changes here: https://gitlab.com/Linaro/windowsonarm/forks/blender/
The build script automatically clones this repo into a folder named “blender”.
If you have any questions, queries, or concerns, contact Anthony Roberts
Running
Download ZIP file below, and run blender exe as normal. May require native python (tested with 3.11rc2) being installed and on the path.
0 Comments