{"id":20020496,"url":"https://github.com/shakfu/pd-cpp","last_synced_at":"2026-06-08T06:34:03.866Z","repository":{"id":113536949,"uuid":"444568036","full_name":"shakfu/pd-cpp","owner":"shakfu","description":"Basic example(s) of puredata externals using cpp","archived":false,"fork":false,"pushed_at":"2022-01-06T01:31:39.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T03:34:24.593Z","etag":null,"topics":["cpp","puredata","puredata-external"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shakfu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-04T21:26:19.000Z","updated_at":"2025-02-25T19:35:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"a99fa456-7528-42cf-927e-c58ac4c336bc","html_url":"https://github.com/shakfu/pd-cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shakfu/pd-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakfu%2Fpd-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakfu%2Fpd-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakfu%2Fpd-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakfu%2Fpd-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shakfu","download_url":"https://codeload.github.com/shakfu/pd-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakfu%2Fpd-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34051768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","puredata","puredata-external"],"created_at":"2024-11-13T08:32:37.017Z","updated_at":"2026-06-08T06:34:03.830Z","avatar_url":"https://github.com/shakfu.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# puredata externals in cpp\n\n\n## Requirements\n\n\nQuickstart: see the [helloworld](helloworld) project for a very minimal example.\n\nTo compile a puredata external with c++ on macOS Catalina:\n\n1. Use [pd-lib-builder](https://github.com/pure-data/pd-lib-builder) \n\n2. Wrap `\u003cname\u003e_setup` function with `extern \"C\" { \u003cname_setup }`\n\n3. `class_new` call in `\u003cname\u003e_setup` should terminate with `A_NULL` instead of `0`.\n\n4. In the project `Makefile`, for macOS Catalina at least, add the following to `cflags`:\n\n```bash\n\ncflags += -stdlib=libc++ -mmacosx-version-min=10.9\n\n```\n\n## Credits\n\n\n- ref: \u003chttps://lists.puredata.info/pipermail/pd-list//2018-06/122775.html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakfu%2Fpd-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshakfu%2Fpd-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakfu%2Fpd-cpp/lists"}