Skip to content
[library] Spacebrew library and examples for openFrameworks
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
example_admin Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_admin_random Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_binary Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_binary_stream Minor fix to binary example Oct 25, 2014
example_button Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_graph Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_noise Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
example_template Updated for new version of ofxLibwebsockets, changed testApp -> ofApp Oct 20, 2014
src Proper type for time Feb 20, 2016
.gitignore Ignoring Win obj folder Dec 30, 2013
README.md Updated Readme Oct 20, 2014

README.md

ofxSpacebrew

Spacebrew openFrameworks examples (including ofxSpacebrew addon)

Supported platforms (via ofxLibwebsockets):

  • OS X
  • iOS
  • Windows
  • Raspberry Pi

Setup

ADDING TO PROJECTS

  • The easy way:
    • Via OF Project Generator:
      1. Add ofxLibwebsockets to your addons via the projectGenerator
      2. Add ofxSpacebrew to your addons via the projectGenerator
      3. That's it!
  • The hard way:
    • OS X

      • Adding to a new/existing project:
        1. Add ofxSpacebrew and ofxLibwebsockets code to your project

        2. Include ofxLibwebsockets' xcconfig file via your project's Project.xcconfig file:

          1. Define where it lives: OFX_LWS_PATH = "$(OF_PATH)/addons/ofxLibwebsockets"
          2. Include ofxLibwebsockets xcconfig #include "../../../addons/ofxLibwebsockets/ofxLibwebsockets.xcconfig"
          3. Add to existing vars in Project.xcconfig:
          OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OFX_LWS_LIBS)
          HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) $(OFX_LWS_INCLUDES)
          LIBRARY_SEARCH_PATHS = $(inherited) $(OFX_LWS_SEARCH)
          
    • Windows

      • Adding to new/existing project:
        1. Add the ofxLibwebsockets source files to the C++ Linker

          • right click on project in the solution explorer, click "Properties", Go down to C++ > General
          • click the arrow at the right of "Additional include directories" and select "edit"
          • add the ofxLibwebsockets source files:
          ..\..\..\addons\ofxLibwebsockets\libs\jsonpp
          ..\..\..\addons\ofxLibwebsockets\libs\jsonpp\json
          ..\..\..\addons\ofxLibwebsockets\libs\libwebsockets\include
          ..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\include
          ..\..\..\addons\ofxLibwebsockets\libs\ofxLibwebsockets\src
          ..\..\..\addons\ofxLibwebsockets\src
          
        2. Add ofxSpacebrew source files to the C++ Linker * right click on project in the solution explorer, click "Properties", Go down to C++ > General * click the arrow at the right of "Additional include directories" and select "edit" * add the ofxSpacebrew source files:

           ```
           ..\..\..\addons\ofxSpacebrew\src
           ```
          
You can’t perform that action at this time.