Copy link to clipboard
Copied
I am trying to integrate a C++ library into an existing extension for Adobe Premiere Pro. I am using ExtendScript ToolKit to integrate the C++ library with Javascript.
I have played around with the examples provided with ExtendScript ToolKit. I have created my own framework with simple functions and have been able to load and use the same with ExtendScript ToolKit.
But I get into trouble when I add additional libraries as dependency to my framework. When any dynamic library is added as a dependency to the framework I created, it fails to load in ExtendScript. I get 'I/O error' with no description. My guess is that ExtendScript ToolKit is unable to load the dependent libraries of my framework.
Is there a way to specify the paths to look for dependent libraries? What is the way forward?
Here is my ExtendScript code:
var mylib = new ExternalObject("lib:/Volumes/Data/work/temp/sample.framework"); // load the library
alert(mylib.version);
} catch (e) {
alert(e)
}
Copy link to clipboard
Copied
You might find more knowledgeable folks over in the SDK forum.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more