Adobe-CEP / CEP-Resources

Tools and documentation for building Creative Cloud app extensions with CEP
https://www.adobe.io/apis/creativecloud/cep.html
1.62k stars 828 forks source link

Node.js custom library for handling C++ tooling #130

Open mccartnm opened 7 years ago

mccartnm commented 7 years ago

For more context, this essentially continues off of: this issue

Been having a bear of a time trying to get a .node running in a CEP extension. We've lined up versions of the node and have tried multiple architectures. (x64, ia32). We know this is doable because of the sample extensions provided by CEP-Resources.

We've gotten node.exe to recognize that the .node file is there but get a DLL error: A dynamic link library (DLL) initialization routine failed.

The node.exe version, for Photoshop CC 2017 as of this date, is v4.3.1. We're using that and can get the app to build but, as mentioned in the tagged issue, we run into problems surrounding to the header mismatch or different versions of V8.

Is there any location that the augmented v8 exists for developers to consume? Either way it would be ideal to share that information with those who wish to extend the framework. I've looked on what seems to be on every site out there.

vespakoen commented 6 years ago

I have also tried doing this and I got the native extension working in NW.js (the same version that was bundled in AE CC2017) but failed to load in AE CC2017, I have not tried it in AE CC2018 yet.

You might be mislead by the example extension because it doesn't seem to actually be using a native module (but pure JS)