Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
158 stars 31 forks source link

Compiling package for Max 7 #132

Open jamesb93 opened 5 years ago

jamesb93 commented 5 years ago

Is it possible for min objects to work with Max 7? I can't seem to find anything in the docs that suggest so.

tap commented 4 years ago

In theory, yes. It should simply be a matter of changing the version requirements in the package-info.json file in the package.

If this doesn't work, please let us know and we can try figure out what is going on.

jamesb93 commented 4 years ago

When changing the version requirement I successfully compiled, however, I now have an issue to do with architecture support.

This is my package-info.json.

{
    "author" : "Cycling '74",
    "description" : "Lightweight reference implementation of a package built using the Min-API.",
    "homepatcher" : "C++ Object Development Kit.maxpat",
    "max_version_min" : "7.3", "max_version_max" : "none",
    "name" : "jtil",
    "os" : {
        "macintosh" : {
            "platform" : [ "x64" ],
            "min_version" : "none"
        },
        "windows" : {
            "platform" : [ "x64" ],
            "min_version" : "none"
        }
    },
    "package_extra" : {
        "reverse_domain" : "com.cycling74",
        "copyright" : "Copyright (c) 2018 Cycling '74"
    },
    "tags" : [ ],
    "version" : "0.0.1",
    "website" : "http://www.github.com/Cycling74/min-devkit"
}
tap commented 4 years ago

If you are building 32-bit externs, then you can change the "os" info to look like this:

    "os" :  {
        "macintosh" :       {
            "platform" : [ "ia32", "x64" ],
            "min_version" : "10.7.x"
        }
,
        "windows" :         {
            "platform" : [ "ia32", "x64" ],
            "min_version" : "Vista"
        }

    }