v1.8.0 | Universal
What's New
🎧swift on.
-
Add support for Microsoft Windows, to join macOS, and Linux in the lineup.
-
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
- 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):
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.7.9")
]
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 |