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.
- Use the project generator, select the
ofxChucK
addon (and any others you want). - Go to
Build Rules
, click+
and make itProcess: Lex source files
Using: Lex
. - Go to
Build Rules
, click+
and make itProcess: Yacc source files
Using: Yacc
. - Go to
Build Settings
>Yacc - Build Options
>Generated File Stem
. Change toInput File Stem
- In
Build Phases
>Comple Sources
, add the flag-DHAVE_CONFIG_H
to all files fromlibs/lo
. Also addchuck.lex
andchuck.y
to the project. Deletechuck_main.cpp
andchuck_win32.c/h
. - Go to the
chuck.lex file
-- on the top right, checkIdentity and Type
-- make sure Type isLex Source
. - Go to
Build Settings
>Apple LLVM 7.0 - Custom Compiler Flags
>Other C Flags
. Add:-D__MACOSX_CORE__
- Add the following to the
System Frameworks
( orGeneral
>Linked Frameworks and Libraries
):MultitouchSupport.framework
,CoreMidi.framework