An open API service indexing awesome lists of open source software.

https://github.com/shakfu/pd-cpp

Basic example(s) of puredata externals using cpp
https://github.com/shakfu/pd-cpp

cpp puredata puredata-external

Last synced: 7 months ago
JSON representation

Basic example(s) of puredata externals using cpp

Awesome Lists containing this project

README

          

# puredata externals in cpp

## Requirements

Quickstart: see the [helloworld](helloworld) project for a very minimal example.

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

1. Use [pd-lib-builder](https://github.com/pure-data/pd-lib-builder)

2. Wrap `_setup` function with `extern "C" { _setup` should terminate with `A_NULL` instead of `0`.

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

```bash

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

```

## Credits

- ref: