menu
バージョン
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Whether during your initial setup of Wwise or by subsequently adding the Cube Demo component, the Wwise installer creates BAT files in the "<WwiseRoot>/Cube Demo/Cube" folder so that you can launch the Cube Demo in debug, profiler, or release mode on Windows®. For Mac®, however, there are some extra steps to follow.
Before starting, make sure the Wwise SDK for Mac is installed on the machine.
The Cube Demo for Mac requires libSDL2 to be installed. Without this, a "Library not loaded: @rpath / SDL2.framework / Versions /A / SDL2" message will be displayed when launching the game from Terminal.
To install libSDL2 for Mac, do the following:
Download the latest libSDL2 Mac OS X Runtime Binaries package: http://www.libsdl.org/release/SDL2-2.0.3.dmg.
Follow the instructions provided in the libSDL2 README file.
There are three methods to run the Cube Demo.
Method 1 (Recommended): Run under Xcode.
Check that Xcode is installed. If Xcode is not present in the Applications folder, download and install it from the Mac App Store.
Make sure the unzipped Cube demo folder shares the same parent folder as the installed Wwise SDK Mac distribution. For example, if the Wwise SDK folder is ${HOME}/Wwise/wwise_${version_tag}/SDK, then the Cube demo root folder must be ${HOME}/Wwise/wwise_${version_tag}/CubeDemo.
In Xcode, open the following Xcode project: /path/to/CubeDemo/cube_source/src/Mac/CubeMac.xcodeproj.
Build and run the project.
Method 2: Use the shell scripts.
Make sure the unzipped Cube demo folder shares the same parent folder as the installed Wwise SDK Mac distribution. For example, if the Wwise SDK folder is ${HOME}/Wwise/wwise_${version_tag}/SDK, then the Cube demo root folder must be ${HOME}/Wwise/wwise_${version_tag}/CubeDemo.
Locate the executable shell script for the desired configuration: /path/to/CubeDemo/Mac/<configuration>/bin/RunCubeDemo.sh.
If the .sh files are configured to be opened by Terminal, double click them in Finder. Otherwise, open Terminal then type /path/to/RunCubeDemo.sh and press Enter.
Method 3: Run the executable in Terminal.
info | Running Cube on Mac OS X Yosemite |
---|---|
To allow the Cube Demo to run on Mac OS X Yosemite, users need to manually register the installed SDL by following this procedure:
For more information, please reference http://www.paradiso.cc/2015/04/18/using-sdlv2-with-osx-yosemite/. |