Giter Site home page Giter Site logo

whisperlib's Introduction

whisperlib

Multi platform general use library (base logging / networking / http / rpc etc)

To build you need waf: http://code.google.com/p/waf/

You may also better have glog / gflags / google perftools for your desktop/server build. You also need a c++ compiler, bison, flex, make, zlib.

To build on your local machine run:

$ waf configure build

The build output will go to build/wout/.... You may want to run: $ waf install --install_dir= to place the headers and libs where you want them to end up.

To build for ios run something like:

$ waf configure build --arch=ios-armv7s (this will build for ios6, and armv7s set). Other values for arch are: ios-armv6, ios-armv7, ios-i386 (last one is for the simulator)

The build output will go to build/wout.ios-armv7s/...

To build for android run: $ waf configure build --arch=android-14-arm (This builds for ICS in ARM - look in n WafUtil.py for other possible values).

Important: Check the options in WafUtil.py or by running in this directory waf --help. You may need to specify your android sdk / ndk paths.

You may want to install in your project directory if you want to incorporate this in an IOS app. To do this run after build:

waf install -v --arch=ios-armv7s --install_root=$MY_IOS_PROJECT_DIR/libs/whisperlib

You may also want to build for all ios architectures then run a lipo to combine all libraries into a combined one and copy it manually (with another script).

Enjoy

whisperlib's People

Contributors

cpopescu avatar

Watchers

James Cloos 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.