Mac OS X

An example CMakeLists.txt is included with the NDK examples shipped in the NDK sub-directory of the Documentation installed with NUKE. CMake is a preferred way of building plugins, the use of other build systems may not produce compatible plugins.

For OS X, plugins will need to be built with clang in order to be compatible. The use of GCC or stock LLVM is unlikely to produce compatible plugins. The tested and supported MacOS SDKs are 10.14, 10.15, 11.

The use of Intel compilers for plug-in development is untested and unsupported.

On Mac OS X, NUKE is built on macOS Mojave 10.14, using the default clang compiler from the Xcode 10.3. Later Xcode versions may work too. Make sure that C++14 (use the ‘-std=c++14’ flag) and libc++ (this should be the default on any Xcode version since Xcode 6.x series, but could be forced by ‘-stdlib=libc++’) are used in the build process.

The resulting shared object file (.dylib) should then be moved to your ~/.nuke directory (or otherwise into the NUKE plugin_path).

See Building & Installing Plug-ins for information on creating your first plug-in.