Code Monkey home page Code Monkey logo

ofxboost's Introduction

ofxBoost
=========
Allows you to use boost in openFrameworks.

Compiling boost on Windows
==========================
You can use the precompiled libraries for mingw/code::blocks, but when you want
to build Boost yourself follow these steps

- download the boost source


- I tried to compile boost on two computers, on one I simply used the 
windows console (cmd) the other one I created using "bash" from a cygwin 
installation...
- in the root of boost, run: bootstrap.bat
- run:  
./bjam.exe toolset=gcc target-os=windows --layout=versioned install

This created C:\Boost\
 

Compiling boost on Mac OSX
===========================
- Download boost_1_43_0 (http://sourceforge.net/projects/boost/files/boost/1.43.0/boost_1_43_0.tar.bz2/download)
$ bunzip2 boost_1_43_0.tar.bz2
$ tar -xvf boost_1_43_0.tar
$ cd boost_1_43_0
$ ./boostrap.sh
$ ./bjam --build-type=minimal \
	--layout=versioned \
	--macosx-version=10.6 \
	--without-regex \
	--without-mpi \
	--without-wave \
	--without-test \
	--without-python \
	--without-graph \
	--without-graph_parallel \
	--without-serialization \
	--without-signals \
	toolset=darwin \
	target-os=darwin \
	architecture=combined \
	address-model=32_64 \
	stage

Installing on Mac OSX (XCode)
=============================
- make sure that you use:
#undef check 
before including any of the boost .hpp files where you need those

- Add this to your search paths: ../../../addons_roxlu/ofxBoost/src/lib/
- Add the static libs form the ofxBoost/lib/mac dir to your project by dragging
them on your project.

Installing on Windows (Code::Blocks)
====================================
- Make sure to add this define to your project settings: POCO_NO_UNWINDOWS
- Add the static libs from the directory ofxBoost\lib\*.a to your linker settings
- Add the dir to ofxBoost\lib\ to your search directories

ofxboost's People

Contributors

flyingoctopus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.