Skip to content

shakfu/pd-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puredata externals in cpp

Requirements

Quickstart: see the helloworld project for a very minimal example.

To compile a puredata external with c++ on macOS Catalina:

  1. Use pd-lib-builder

  2. Wrap <name>_setup function with extern "C" { <name_setup }

  3. class_new call in <name>_setup should terminate with A_NULL instead of 0.

  4. In the project Makefile, for macOS Catalina at least, add the following to cflags:

cflags += -stdlib=libc++ -mmacosx-version-min=10.9

Credits

About

Basic example(s) of puredata externals using cpp

Topics

Resources

License

Stars

Watchers

Forks