SFML community forums

Help => General => Topic started by: giowuu on July 27, 2016, 07:02:05 pm

Title: Unable to compile SFML for IOS
Post by: giowuu on July 27, 2016, 07:02:05 pm
When I try to compile SFML for iOS i create the xcode project like this:

cmake .. -DIOS=TRUE -G "Xcode"

No errors here. I do not get a "Found OpenAL message:" though. Isn't the iOS version using find_package OpenAL?

When I compile the xcode project I get the following error on line 33 in sfml-audio/ALCheck.hpp:

'OpenAl/al.h file not found'

Compiling if I turn off the IOS flag works fine and I get a "Found OpenAL" message during generation.

Base iOS SDK is 9.3.

Anybody have the same error or know what is wrong?
Title: Re: Unable to compile SFML for IOS
Post by: Laurent on July 27, 2016, 08:31:02 pm
There's no need to find OpenAL on iOS, it's just there and always accessed the same way. What version of the iOS SDK are you using?