Skip to content

v1.8.3

Compare
Choose a tag to compare
@furby-tm furby-tm released this 03 Sep 16:38
· 15 commits to main since this release
d4f1ef5

What's New

🎧swift on.
  • Add support for Microsoft Windows, to join macOS, and Linux in the lineup.

Important

Despite the error for Microsoft Windows in CI, as long as you are using MSVC v14.40 or earlier,
this package should build successfully on Windows, a fix for MSVC v14.41 was backported into
Swift 5.10, and should be made available in the next Swift 5.10 release (Swift 5.10.2, I believe).

  • Ensure all Swift source code in this repo has the proper Apache 2.0 license headers, as all Swift code in this repository is authored by Wabi Foundation, and licensed under Apache 2.0.

    • Note: This does not change the existing licenses of any of the original library's licenses, all code provided by other libraries in this Swift package maintains their original licenses.
  • Removed SwiftBundler as a package dependency, we are working on getting the bundler in shape to build cross-platform apps (namely SwiftUSD & UsdView) across Linux, visionOS, iOS, macOS, and Windows, the recommended method to use the bundler is for users to install the bundler locally following these instructions.

  • Fixed TBB's proper headers, to be our own custom improper include paths, because if a valid TBB installation is dare picked up by the Linux stdlib (#if has_include(<tbb/blocked_range.h>)), it will completely destroy the std library on Linux.

    • Which also means if a user dares to install tbb on their Linux system, it will break their entire std library on Linux, so you must ensure you do not have TBB installed on your system via (pending this PR to Swift to fix this):
      sudo apt remove libtbb-dev

Usage

Add MetaverseKit as a package dependency to your own Swift project's Package.swift file:

// swift-tools-version: 5.10

dependencies: [
  .package(url: "https://github.com/wabiverse/MetaverseKit", from: "1.8.3")
]

Linux

For Linux, these are the only dependencies required, as MetaverseKit provides everything else.

Tip

If you are on a distro like Ubuntu there is a good chance you already have most of these installed.

Important

If you have installed TBB on your Linux system, it will break the entire std library on Linux, so you must ensure you do not have TBB installed on your system via (ex. sudo apt remove libtbb-dev), (pending this PR to Swift to fix this).

Dependency CentOS Ubuntu
Boost boost-devel libboost-all-dev
Python python3-devel python3-dev
BZ2 bzip2-devel libbz2-dev
ZLib zlib-devel zlib1g-dev
FreeGLUT freeglut-devel freeglut3-dev
DEFLATE libdeflate-devel libdeflate-dev
Expat libexpat-devel libexpat1-dev
Xcursor libXcursor-devel libxcursor-dev
Xt libXt-devel libxt-dev
Xi libXi-devel libxi-dev
Xinerama libXinerama-devel libxinerama-dev
Xrandr libXrandr-devel libxrandr-dev