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
ofxChucKaddon (and any others you want). - Go to
Build Rules, click+and make itProcess: Lex source filesUsing: Lex. - Go to
Build Rules, click+and make itProcess: Yacc source filesUsing: 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_Hto all files fromlibs/lo. Also addchuck.lexandchuck.yto the project. Deletechuck_main.cppandchuck_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