C++ Boost on iPhone

前端 未结 2 1628
时光取名叫无心
时光取名叫无心 2020-12-28 10:31

I need to use the boost serialization code. I am in the process of testing it on Android (using the NDK, obviously). Before i decide if i really want to use boost serializat

相关标签:
2条回答
  • 2020-12-28 10:46

    This blog will probably help you.

    It says that Pete Goodliffe wrote a script that builds the boost libraries into an iOS framework. There is also an XCode project compiling the whole thing.

    If people tell you that you can't use custom frameworks in iOS applications this is not true. So long as the framework is properly built (architectures for i386,armv6 and armv7 all lipoed together) this will work.

    I haven't tried that particular framework but if it's correctly setup I am sure this will do the trick.

    Keep us posted.

    0 讨论(0)
  • 2020-12-28 10:59

    Hey I have updated Pete Goodliffes script in my openFrameworks addon:

    • It currently has arm64, armv7, i386, x86_64
    • Boost 1.59.0 or previous
    • libc++ / std=c++11 -- Now optional release for libstdc++
    • Precompiled and Script to build yourself (so if you need libstdc++ quite easy to change)
      • Supports Xcode 7

    https://github.com/danoli3/ofxiOSBoost

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