Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Boost on iPhone

Tags:

iphone

boost

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 serialization code in my projects, i would like to know if boost can be compiled and used in iPhone applications. I ask this because compiling boost on Android is not an immediate thing to do, so there is the possibility that boost on iPhone will be as hard to compile as Android (sigh). Thx.

like image 531
Luke Avatar asked Sep 09 '11 12:09

Luke


People also ask

Can you use USB-C with iPhone?

Many of the best iPhone chargers offer much faster charging rates and, by no coincidence, rely on the USB-C standard. Choosing an adapter with more power is a good idea because the newest iPhones can benefit from that extra juice.

Why is USB-C better for iPhone?

A USB-C port would unify Apple's device lineup, allowing most people to use a single USB-C charger to charge up their ‌iPhone‌, iPad, and Mac. Switching to USB-C would also allow for faster charging and it would enable faster transfer speeds.


1 Answers

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

like image 129
Danoli3 Avatar answered Sep 29 '22 09:09

Danoli3