版本
menu_open
警告:系统已根据您所用大版本 (2022.1.13.8454) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
目标平台:
Wwise SDK 2022.1.13
针对 Linux 的专用信息

本页中包含有关将 Wwise SDK 用于 Linux 平台的专用信息。

在 Linux 上构建时所需的依赖项

To build the SDK samples on Linux, you will need several tools and libraries: clang pthreads libc++ libdl librt libsdl2 (for IntegrationDemo) make

In addition to the above, rebuilding the Wwise sound engine libraries requires two extra libraries:

libasound2 libpulse

在基于 Debian 的发行版(如 Ubuntu)上,可通过运行以下终端命令来安装这些数据包:

sudo apt install make clang g++ libc++-dev libc++abi-dev libsdl2-dev libc6-dev libasound2-dev libpulse-dev
备注: The pre-built libraries that come with the Wwise SDK are built using clang and libc++. Refer to Linux 版本说明 for the specific version of clang and libc++ used.

在 Linux 上使用 wp.py 构建插件时,可根据需要选用 pythonpython3。 确保安装 wp.py 首次设置 中所述的必要数据包。

创建 SDK 示例和源代码

提供了通用 makefiles;针对构建目标,必须定义某些环境变量。以下是用于各种目标的设置:

  • Linux_x64 (Intel x86 64 位)
    • AK_LINUX_ARCH=x64
  • Linux_aarch64 (Raspberry Pi)
    • AK_LINUX_ARCH=aarch64

另外,config 环境变量可设置为debug(调试)profile(性能分析)release(发布) 来选择相应的构建配置;如果不指定,则将使用 debug 配置。

备注: 在 Linux 上使用 wp.py 构建插件时,可改用 -c 参数来指定配置。

Linux 专用 AkPlatformInitSettings

Linux 版本说明


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅