Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Unable to compile SFML for IOS  (Read 812 times)

0 Members and 1 Guest are viewing this topic.

giowuu

  • Newbie
  • *
  • Posts: 2
    • View Profile
Unable to compile SFML for IOS
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Unable to compile SFML for IOS
« Reply #1 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?
Laurent Gomila - SFML developer