COCOS2DX for IOS fmod sound engine access

Source: Internet
Author: User

Previous blog I wrote a fmod android access process, this time to introduce the iOS access to the Fmod method.

First download the Fmod API package, after decompression, in the Fmod Programmers Api/api folder has Lowlevel and studio, will two folders inside the Inc and Lib

Copy it, put it in your project iOS folder, and fill in the project's build Settings->header Search paths the Lowlevel and Studio Inc folders

The path.

Set the build Settings->library Search paths as the library path for Lib in Lowlevel and studio.

Import the library file in build Phases->link Binary with libraries.

The most important step is to set the value of build Phases->linking->other Linker Flags

Debug:

-lfmodl_$platform_name

-lfmodstudiol_$platform_name

Release:

-lfmodstudio_$platform_name

-lfmod_$platform_name

Note that the latest version of Fmod only supports iOS 6.0 arm64-bit systems, so you need to set the

Deployment info->deployment Target is 6.0,build settings->architectures->valid architectres for arm64,

Build Settings->architectures->architectures is arm64.

Reprint please indicate the source, from the blog Park Hemjohn

COCOS2DX for IOS fmod sound engine access

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.