Skip to content

gewang/ofxChucK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxChucK

Design and Development of the ChucK addon to OpenFrameworks. This allows ChucK code to run "natively" in OpenFrameworks app -- with bindings that allow communication and data sharing between ChucK and OpenFrameworks.

Steps to make a project with ofxChucK work in OF 0.8.4:

  1. Use the project generator, select the ofxChucK addon (and any others you want).
  2. Go to Build Rules, click + and make it Process: Lex source files Using: Lex.
  3. Go to Build Rules, click + and make it Process: Yacc source files Using: Yacc.
  4. Go to Build Settings > Yacc - Build Options > Generated File Stem. Change to Input File Stem
  5. In Build Phases > Comple Sources, add the flag -DHAVE_CONFIG_H to all files from libs/lo. Also add chuck.lex and chuck.y to the project. Delete chuck_main.cpp and chuck_win32.c/h.
  6. Go to the chuck.lex file -- on the top right, check Identity and Type -- make sure Type is Lex Source.
  7. Go to Build Settings > Apple LLVM 7.0 - Custom Compiler Flags > Other C Flags. Add: -D__MACOSX_CORE__
  8. Add the following to the System Frameworks ( or General > Linked Frameworks and Libraries): MultitouchSupport.framework, CoreMidi.framework