Giter VIP home page Giter VIP logo

gen_ext's Issues

direct compilation for pure data external (tested in plug data mac book m1)

Hello!
I was struggling a bit to make it work, but if you're interested in make it work directly into pure data in m1 thank to chat gtp I could make it work compiling it directly with the terminal:

here is the code

`gen.name = gen_exported

change this to match the name of the external you would like to generate

(do not add a ~ suffix to the name here)

lib.name = OSCsimone

Don't forget to edit gen_buffer.h if your gen~ object references buffers in max.

genext.version = 0.7.0

$(lib.name)~.class.sources = gen_ext.cpp _ext.cpp ./gen/gen_dsp/genlib.cpp
cflags = -I ./gen -I./gen/gen_dsp -DGEN_EXT_VERSION=$(genext.version) -DPD_EXT_NAME=$(lib.name) -DGEN_EXPORTED_NAME=$(gen.name) -DGEN_EXPORTED_HEADER="$(gen.name).h" -DGEN_EXPORTED_CPP="$(gen.name).cpp"
suppress-wunused = yes

define forDarwin
ARCHFLAGS = -arch arm64 -arch x86_64
cflags += $(ARCHFLAGS) -DMSP_ON_CLANG -DGENLIB_USE_FLOAT32 -mmacosx-version-min=10.9
endef

define forLinux
$(lib.name)~.class.sources += ./gen/gen_dsp/json.c ./gen/gen_dsp/json_builder.c
endef

datafiles =

datafiles and datadirs:

All extra files you want to include in binary distributions of the

library: abstractions and help patches, example patches, meta patch, readme

and license texts, manuals, sound files, etcetera. Use 'datafiles' for all

files that should go into your lib rootdir and 'datadirs' for complete

directories you want to copy from source to distribution.

include ./pd-lib-builder/Makefile.pdlibbuilder`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.