• Stars
    star
    273
  • Rank 150,780 (Top 3 %)
  • Language
    C++
  • License
    Boost Software Li...
  • Created about 12 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

iOS Boost Library 1.60.0 (arm64, armv7, i386, x86_64) Pre-compiled and Build Script (libc++ and libstdc++) - Boost iOS

ofxiOSBoost for Boost 1.60.0 image


Boost C++ Libraries 1.60.0 Pre-compiled for iOS

image

  • Addon with Boost 1.60.0 for iOS / Xcode
  • Precompiled library and Command to build yourself
  • Master is currently a Fat Lib of All Standard Architectures
  • Check Branches for others or to be specific
  • Designed for use as an open frameworks addon, however should definitely work for other iOS projects
  • Built with clang++ and using libc++ and std=c++11
  • License: See Boost License LICENSE.MD

============

Where to checkout?

  • For openframeworks: Checkout in the addons folder like so: addons/ofxiOSBoost
  • For others: anywhere you please

============

How To Link to an Xcode Project?

In Xcode Build Settings for your project:

  • Add to Library Search Paths ( LIBRARY_SEARCH_PATHS ) $(SRCROOT)/../../../addons/ofxiOSBoost/libs/boost/lib/ios
  • Add to Header Search Paths ( HEADER_SEARCH_PATHS )
    $(SRCROOT)/../../../addons/ofxiOSBoost/libs/boost/include

In Xcode for a Build Target select the Target under Build Phases

  • Add to 'Link Binary With Libraries' the libboost.a found in the ofxiOSBoost/libs/boost/lib/ios directory.

If not openFrameworks just add the libs/boost/include to Header Search Paths and the libs/boost/ios to Library Search Paths

============

Architectures in Pre-Build Library (Fat Lib)

See the other branches on this repository (All libc++ std=c11)

  • arm64 : (iOS 7, 8, 9 64bit only) [iPhone 5S, iPhone 6/6S, iPhone 6/6S Plus, iPad Air /2, iPad Mini Retina 1/2/3/4, iPad Pro]
  • armv7 : (iOS 5, 6, 7, 8, 9) [All devices]
  • i386 : (iOS Simulator iPad 2, 3, 4, iPhone 4S, 5, 5C)
  • x86_64: (iOS Simulator iPad Air, iPhone 5S, iPhone 6/6S, iPhone 6/6S Plus)

Check Apple's Hardware sheet if you need to verify: Apple's Device compatibilty Matrix

** Armv7s has been removed due to Apple phasing our the requirement from the STANDARD_ARCHITECTURES.

============

For tvOS - Checkout the ofxtvOSBoost repo:

============

How to Build?

  1. You don't need to. This has the pre-compiled versions of BOOST for you to use
  2. If you would prefer to build it yourself checkout the script included in the scripts directory.

=============

How to use Build Script

  • Download files (suggested you download the files to addons/ofxiOSBoost for openFrameworks)
  • Double click and run scripts/build-libc++ (this will download the 1.60.0 version of boost and begin compiling the library).
  • Once completed in the terminal continue with the next steps.
  • Add the ofxiOSBoost to your project (src and libs for your chosen architecture)`

Build with Bitcode Embedded:

  • Build with embedded bitcode by running the scripts/build-libc++withBitcode

Alternative Build Script:

  • Build using libstdc++ by running the scripts/build-libstdc++

Clean script

  • Run the clean script from scripts/cleanAll to remove pre-compiled code and the final built library

============

Documentation on Boost 1.60.0

See: http://www.boost.org/users/history/version_1_60_0.html

Version 1.60.0 (Date): December 17th, 2015 15:52 GMT

============

Troubleshooting:

Undefined symbols link error (For libc++ release)

If you use libraries like serialization you might see link errors in Xcode 6 especially when the framework was built using --with-c++11 flag.

    Undefined symbols for architecture i386:
    "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:
    void std::__1::vector<boost::archive::detail::basic_iarchive_impl::cobject_id, std::__1::allocator<boost::archive::detail::basic_iarchive_impl::cobject_id> >::__push_back_slow_path<boost::archive::detail::basic_iarchive_impl::cobject_id>(boost::archive::detail::basic_iarchive_impl::cobject_id&&) in boost(libboost_serialization_basic_iarchive.o)

You have to change your project or target build settings.

Under Apple LLVM 6.0 - Language - C++ make the following changes

C++ Language Dialect to C++11 [-std=c++11] C++ Standard Library to libc++ (LLVM C++ standard library with C++11 support)

Parse errors when including boost/type_traits.hpp

If you happen to include <boost/type_traits.hpp> header file, you may see compile errors like this

Unexpected member name of ';' after declaration specifiers

To fix this problem, include the following line in your porject ***-Prefix.pch file.

#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0

More Repositories

1

Multithreaded-Ray-Tracer

A Multithreaded Skeleton Ray Tracer designed to help you get started with start ray tracing, with fast rendering speed! This has been adapted around Sverre Kvaale's original wxWidgets Skeleton to enhance speed, look and functionality of the original framework. Skeleton based on and for Kevin Suffern's Textbook Ray Tracing from the Ground Up.
C++
45
star
2

FreeImage

FreeImage library - With Fixes for ALL PLATFORMS
C
38
star
3

ofxOSXBoost

OSX Boost Library 1.60.0 (i386, x86_64) Pre-compiled with (libc++ and libstdc++ branches) - Boost OSX
C++
24
star
4

ofxTexturePacker

openFrameworks Addon for SpriteSheets and Animated Sprites generated from TexturePacker
C++
23
star
5

ofxCocosDenshion

iOS Music and Sound Engine for Games in C++ - openFrameworks
Objective-C
6
star
6

ofxPhysicsEditor

openFrameworks addon for loading and managing 2D Physics Geometry generated from Physics Editor
4
star
7

ofxtvOSBoost

tvOS Boost Library 1.59.0 for AppleTVOS (arm64, x86_64) Pre-compiled and Build Script (Bitcode and libc++)
C++
3
star
8

ofxMultiplatform

openFrameworks Multiplatform Example Template C++ (iOS, Android, Windows, Linux)
Objective-C++
3
star
9

apothecary-den

Apothecary Formula Automated Testing (Travis has volunteered to drink our potions!)
Shell
2
star
10

ofxRayTracer

In progress
C++
2
star
11

UTSGamesProgrammingSnippets

Snippets for Game Programming 2014
C#
2
star
12

ofxZipUtils

Utility Addon for Zip functions (Decompress, Compress zip containers)
C++
2
star
13

ofxParallax

openFrameworks Addon for Parallax scenes
C
2
star
14

ofxAddonsScript

openFrameworks Addon for downloading ofxAddons or git repo's defined in script.
C++
2
star
15

ofxOboe

Android Google Oboe Low Latency Sound Engine Wrapper for openFrameworks
C++
2
star
16

Unity-il2cpp

il2cpp Unity Test Cloud Build
1
star
17

Poco-Example-Project

Poco Example Project to verify libraries.
C++
1
star
18

Skeleton-Ray-Tracer

Skeleton ray tracer written by Sverre Kvaale. Updated for new Visual Studio Editions by Daniel Rosser
C++
1
star
19

ofxMagicEnum

C++17 enum to std::string - std::string to enum - Magic Enum Converter Wrapper for openFrameworks
C++
1
star
20

GameCenterManager2

[Updated Version of GameCenterManager] for OSX and iOS (Objective-C)
Objective-C
1
star