Live555 compile for iOS build error

前端 未结 3 2020
天命终不由人
天命终不由人 2021-01-22 09:52

I\'m trying to compile Live555 for iOS.

I have done the following:

./genMakefiles iphoneos
make

I get the following build errors:

相关标签:
3条回答
  • 2021-01-22 09:53

    I just change the compile.iphoneos :

    IOS_VERSION =       5.1
    LINK_OPTS =                 -L. .....
    

    To

    IOS_VERSION =       6.0
    LINK_OPTS =             -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system
    

    And it successfully compiles.

    0 讨论(0)
  • 2021-01-22 10:04

    Change LINK_OPTS of config.iphoneos before running "genMakefiles iphoneos". It works for me on iOS 5.1 SDK and iOS 6 SDK beta.

    LINK_OPTS =             -L. -arch armv7 --sysroot=$(SDK) -L$(SDK)/usr/lib/system
    
    0 讨论(0)
  • 2021-01-22 10:15

    I think you must modify --isysroot to -isysroot

    0 讨论(0)
提交回复
热议问题